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.001132/0.001132, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3485, allocations: 62.43 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009531/0.3581, allocations: 7.742 MB / 0.5392 GB, free: 7.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005259/0.3634, allocations: 2.418 MB / 0.5416 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.3648, allocations: 29.5 kB / 0.5416 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.3693, allocations: 1.802 MB / 0.5434 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.372, allocations: 0.7139 MB / 0.5441 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.3748, allocations: 1.08 MB / 0.5451 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.3773, allocations: 1.41 MB / 0.5465 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.3794, allocations: 1.008 MB / 0.5475 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.3806, allocations: 0.6028 MB / 0.5481 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.3819, allocations: 0.7275 MB / 0.5488 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.3823, allocations: 119.9 kB / 0.5489 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3836, allocations: 327.8 kB / 0.5492 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.384, allocations: 310.9 kB / 0.5495 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.3851, allocations: 0.6491 MB / 0.5501 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.3879, allocations: 1.761 MB / 0.5518 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3879, allocations: 0 / 0.5518 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3879, allocations: 0 / 0.5518 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.538e-05/0.388, allocations: 0 / 0.5518 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.0084/0.3964, allocations: 2.38 MB / 0.5542 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3965, allocations: 8.031 kB / 0.5542 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.407, allocations: 1.396 MB / 0.5555 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4085, allocations: 0.6168 MB / 0.5561 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.4086, allocations: 99.02 kB / 0.5562 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004004/0.409, allocations: 128.4 kB / 0.5564 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.4125, allocations: 1.49 MB / 0.5578 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.4126, allocations: 3.906 kB / 0.5578 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.4127, allocations: 52 kB / 0.5579 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.4128, allocations: 39.94 kB / 0.5579 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.4156, allocations: 1.513 MB / 0.5594 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/0.4242, allocations: 5.587 MB / 0.5648 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4268, allocations: 2.167 MB / 0.567 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.4278, allocations: 0.6514 MB / 0.5676 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.4281, allocations: 191.2 kB / 0.5678 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.4281, allocations: 47.56 kB / 0.5678 GB, free: 11.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.427e-06/0.4281, allocations: 0 / 0.5678 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009007/0.4372, allocations: 3.094 MB / 0.5708 GB, free: 8.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4373, allocations: 90.11 kB / 0.5709 GB, free: 8.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.4379, allocations: 462 kB / 0.5714 GB, free: 8.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.438, allocations: 53.64 kB / 0.5714 GB, free: 8.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.4383, allocations: 463.5 kB / 0.5719 GB, free: 7.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.4387, allocations: 421.8 kB / 0.5723 GB, free: 7.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.4391, allocations: 222.7 kB / 0.5725 GB, free: 6.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4392, allocations: 386.7 kB / 0.5728 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/0.4401, allocations: 454.4 kB / 0.5733 GB, free: 6.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.4411, allocations: 0.6997 MB / 0.574 GB, free: 5.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.443, allocations: 1.194 MB / 0.5751 GB, free: 4.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.443, allocations: 0 / 0.5751 GB, free: 4.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002885/0.4459, allocations: 1.593 MB / 0.5767 GB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.446, allocations: 8.375 kB / 0.5767 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.446, allocations: 12 kB / 0.5767 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.4476, allocations: 0.52 MB / 0.5772 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/0.4484, allocations: 207.7 kB / 0.5774 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002003/0.4486, allocations: 53.2 kB / 0.5775 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.4493, allocations: 126.6 kB / 0.5776 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.4494, allocations: 48 kB / 0.5776 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.0004726/0.4499, allocations: 269.6 kB / 0.5779 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.4501, allocations: 83.06 kB / 0.578 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.4529, allocations: 1.567 MB / 0.5795 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.453, allocations: 15.94 kB / 0.5795 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.453, allocations: 0 / 0.5795 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.453, allocations: 7.969 kB / 0.5795 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.4576, allocations: 2.848 MB / 0.5823 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4576, allocations: 8.031 kB / 0.5823 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007278/0.4584, allocations: 143.7 kB / 0.5824 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.4599, allocations: 0.5184 MB / 0.583 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.46, allocations: 31.98 kB / 0.583 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003271/0.4603, allocations: 68.67 kB / 0.583 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4603, allocations: 0 / 0.583 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004136/0.4645, allocations: 2.337 MB / 0.5853 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.4649, allocations: 283.6 kB / 0.5856 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.4651, allocations: 23.94 kB / 0.5856 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/0.4658, allocations: 56.03 kB / 0.5857 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.466, allocations: 77.2 kB / 0.5857 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.4661, allocations: 32 kB / 0.5858 GB, free: 9.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004848/0.4666, allocations: 306.9 kB / 0.5861 GB, free: 8.703 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4666, allocations: 0 / 0.5861 GB, free: 8.703 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001059/0.4677, allocations: 343.1 kB / 0.5864 GB, free: 8.367 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.0003536/0.4681, allocations: 163.1 kB / 0.5866 GB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.4713, allocations: 1.367 MB / 0.5879 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4714, allocations: 3.938 kB / 0.5879 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.4733, allocations: 0.7665 MB / 0.5886 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.0007277/0.474, allocations: 108 kB / 0.5887 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.4783, allocations: 2.1 MB / 0.5908 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/0.4791, allocations: 1.04 MB / 0.5918 GB, free: 2.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4794, allocations: 67.42 kB / 0.5919 GB, free: 2.699 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4794, allocations: 4 kB / 0.5919 GB, free: 2.695 MB / 446.1 MB Notification: Performance of Templates: time 0.02322/0.5026, allocations: 16.52 MB / 0.608 GB, free: 2.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches