Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 117.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.0016, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2689/0.2689, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 79.81 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4128, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01137/0.4242, allocations: 7.741 MB / 0.5385 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.4305, allocations: 2.411 MB / 0.5409 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.4324, allocations: 29.06 kB / 0.5409 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.4376, allocations: 1.812 MB / 0.5427 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.4408, allocations: 0.7211 MB / 0.5434 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.4437, allocations: 1.069 MB / 0.5444 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.4465, allocations: 1.411 MB / 0.5458 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.4487, allocations: 1.005 MB / 0.5468 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4499, allocations: 0.6072 MB / 0.5474 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.4513, allocations: 0.7314 MB / 0.5481 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.4516, allocations: 112 kB / 0.5482 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.4527, allocations: 339.8 kB / 0.5485 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.453, allocations: 290.9 kB / 0.5488 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000934/0.4539, allocations: 0.653 MB / 0.5495 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.4563, allocations: 1.773 MB / 0.5512 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4563, allocations: 0 / 0.5512 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4563, allocations: 0 / 0.5512 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.4564, allocations: 0 / 0.5512 GB, free: 12.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007488/0.4639, allocations: 2.38 MB / 0.5535 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4639, allocations: 8.031 kB / 0.5535 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009652/0.4736, allocations: 1.389 MB / 0.5549 GB, free: 9.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4747, allocations: 0.6167 MB / 0.5555 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.682e-05/0.4748, allocations: 99.02 kB / 0.5556 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.475, allocations: 128.4 kB / 0.5557 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.4777, allocations: 1.49 MB / 0.5572 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.4777, allocations: 3.906 kB / 0.5572 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.4779, allocations: 56 kB / 0.5572 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.4779, allocations: 35.94 kB / 0.5572 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.4805, allocations: 1.517 MB / 0.5587 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008436/0.4889, allocations: 5.579 MB / 0.5642 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.4917, allocations: 2.182 MB / 0.5663 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.4927, allocations: 0.6514 MB / 0.5669 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.4929, allocations: 187.2 kB / 0.5671 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.493, allocations: 51.48 kB / 0.5672 GB, free: 11.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.627e-06/0.493, allocations: 0 / 0.5672 GB, free: 11.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008948/0.502, allocations: 3.102 MB / 0.5702 GB, free: 8.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.5021, allocations: 90.11 kB / 0.5703 GB, free: 8.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.5027, allocations: 457.9 kB / 0.5707 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.5028, allocations: 45.7 kB / 0.5708 GB, free: 8.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.503, allocations: 463.5 kB / 0.5712 GB, free: 7.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.5034, allocations: 429.7 kB / 0.5716 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.5038, allocations: 214.8 kB / 0.5718 GB, free: 6.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5039, allocations: 386.7 kB / 0.5722 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/0.5048, allocations: 454.4 kB / 0.5726 GB, free: 6.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.5058, allocations: 0.6958 MB / 0.5733 GB, free: 5.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.5077, allocations: 1.198 MB / 0.5745 GB, free: 4.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.5077, allocations: 4 kB / 0.5745 GB, free: 4.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003067/0.5108, allocations: 1.586 MB / 0.576 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.5108, allocations: 8 kB / 0.576 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.5109, allocations: 8 kB / 0.576 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.5125, allocations: 0.5204 MB / 0.5766 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.5133, allocations: 203.6 kB / 0.5767 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.5135, allocations: 49.27 kB / 0.5768 GB, free: 1.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.5142, allocations: 134.5 kB / 0.5769 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.5143, allocations: 55.98 kB / 0.577 GB, free: 1.488 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004545/0.5148, allocations: 265.6 kB / 0.5772 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.515, allocations: 79.06 kB / 0.5773 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.5179, allocations: 1.567 MB / 0.5788 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.518, allocations: 19.94 kB / 0.5789 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.518, allocations: 0 / 0.5789 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.518, allocations: 7.969 kB / 0.5789 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.5228, allocations: 2.851 MB / 0.5816 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5228, allocations: 0 / 0.5816 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.5234, allocations: 143.8 kB / 0.5818 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.5249, allocations: 0.5223 MB / 0.5823 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.525, allocations: 24 kB / 0.5823 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/0.5253, allocations: 72.67 kB / 0.5824 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5253, allocations: 3.938 kB / 0.5824 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.5291, allocations: 2.337 MB / 0.5847 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.5295, allocations: 283.7 kB / 0.5849 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5297, allocations: 31.92 kB / 0.585 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.5303, allocations: 43.98 kB / 0.585 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.5304, allocations: 77.27 kB / 0.5851 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.5305, allocations: 35.98 kB / 0.5851 GB, free: 9.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.5309, allocations: 306.9 kB / 0.5854 GB, free: 8.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5309, allocations: 0 / 0.5854 GB, free: 8.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001025/0.5319, allocations: 351 kB / 0.5857 GB, free: 8.363 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003455/0.5323, allocations: 155.1 kB / 0.5859 GB, free: 8.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.5353, allocations: 1.363 MB / 0.5872 GB, free: 6.844 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.5353, allocations: 4.062 kB / 0.5872 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.537, allocations: 0.7737 MB / 0.588 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.5377, allocations: 104 kB / 0.5881 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5414, allocations: 2.062 MB / 0.5901 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.542, allocations: 1.036 MB / 0.5911 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.5424, allocations: 110.8 kB / 0.5912 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.5426, allocations: 59.42 kB / 0.5913 GB, free: 2.648 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5426, allocations: 0 / 0.5913 GB, free: 2.648 MB / 446.1 MB Notification: Performance of Templates: time 0.02321/0.5658, allocations: 14.09 MB / 0.605 GB, free: 4.621 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches