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.001174/0.001174, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 79.81 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4702, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01013/0.4804, allocations: 7.737 MB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007841/0.4883, allocations: 2.418 MB / 0.5409 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.4912, allocations: 25.5 kB / 0.5409 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005591/0.4969, allocations: 1.815 MB / 0.5427 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.5003, allocations: 0.709 MB / 0.5434 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.5035, allocations: 1.075 MB / 0.5445 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.5067, allocations: 1.408 MB / 0.5458 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.5093, allocations: 1.009 MB / 0.5468 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.511, allocations: 0.6045 MB / 0.5474 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5127, allocations: 0.7314 MB / 0.5481 GB, free: 176 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004795/0.5132, allocations: 112 kB / 0.5482 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.5148, allocations: 331.8 kB / 0.5485 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.5153, allocations: 306.9 kB / 0.5488 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.5168, allocations: 0.6491 MB / 0.5495 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.5207, allocations: 1.771 MB / 0.5512 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5207, allocations: 0 / 0.5512 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5207, allocations: 0 / 0.5512 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.994e-05/0.5208, allocations: 0 / 0.5512 GB, free: 13.01 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.008618/0.5294, allocations: 2.41 MB / 0.5535 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5295, allocations: 12.03 kB / 0.5536 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009786/0.5393, allocations: 1.401 MB / 0.5549 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.541, allocations: 0.617 MB / 0.5555 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5412, allocations: 99.02 kB / 0.5556 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/0.5417, allocations: 128.4 kB / 0.5557 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/0.5456, allocations: 1.49 MB / 0.5572 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.163e-05/0.5457, allocations: 3.953 kB / 0.5572 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5459, allocations: 52 kB / 0.5573 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.5459, allocations: 39.94 kB / 0.5573 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.549, allocations: 1.509 MB / 0.5588 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.5599, allocations: 5.604 MB / 0.5642 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.5626, allocations: 2.175 MB / 0.5664 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.5637, allocations: 0.6476 MB / 0.567 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.564, allocations: 187.2 kB / 0.5672 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.564, allocations: 51.5 kB / 0.5672 GB, free: 11.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.55e-06/0.5641, allocations: 3.984 kB / 0.5672 GB, free: 11.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009089/0.5732, allocations: 3.106 MB / 0.5703 GB, free: 8.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.5733, allocations: 90.11 kB / 0.5703 GB, free: 8.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.5741, allocations: 466 kB / 0.5708 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.5742, allocations: 45.7 kB / 0.5708 GB, free: 8.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.5746, allocations: 472.9 kB / 0.5713 GB, free: 7.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.5751, allocations: 448.1 kB / 0.5717 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.5755, allocations: 218.8 kB / 0.5719 GB, free: 6.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5757, allocations: 382.7 kB / 0.5723 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/0.5766, allocations: 454.4 kB / 0.5727 GB, free: 6.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.5777, allocations: 0.6997 MB / 0.5734 GB, free: 5.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.5799, allocations: 1.198 MB / 0.5746 GB, free: 4.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.5799, allocations: 0 / 0.5746 GB, free: 4.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003184/0.5831, allocations: 1.598 MB / 0.5761 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.5831, allocations: 8.344 kB / 0.5761 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.5832, allocations: 12 kB / 0.5762 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.5849, allocations: 0.5239 MB / 0.5767 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.5857, allocations: 203.7 kB / 0.5769 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002181/0.5859, allocations: 45.27 kB / 0.5769 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.5868, allocations: 131 kB / 0.577 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.5869, allocations: 51.98 kB / 0.5771 GB, free: 1.441 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.0005955/0.5875, allocations: 273.5 kB / 0.5773 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.5877, allocations: 83.47 kB / 0.5774 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.5907, allocations: 1.56 MB / 0.5789 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.5907, allocations: 15.94 kB / 0.579 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5907, allocations: 0 / 0.579 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5908, allocations: 11.97 kB / 0.579 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.5957, allocations: 2.859 MB / 0.5818 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.5957, allocations: 8.016 kB / 0.5818 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.5963, allocations: 139.8 kB / 0.5819 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.5978, allocations: 0.5184 MB / 0.5824 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.773e-05/0.5979, allocations: 28 kB / 0.5824 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003021/0.5982, allocations: 68.67 kB / 0.5825 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5982, allocations: 0 / 0.5825 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.6032, allocations: 2.337 MB / 0.5848 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.6038, allocations: 280.2 kB / 0.585 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.6039, allocations: 35.89 kB / 0.5851 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.6047, allocations: 48.03 kB / 0.5851 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.6049, allocations: 77.2 kB / 0.5852 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.851e-05/0.605, allocations: 32 kB / 0.5852 GB, free: 8.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004202/0.6054, allocations: 310.9 kB / 0.5855 GB, free: 8.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6054, allocations: 0 / 0.5855 GB, free: 8.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001193/0.6066, allocations: 351.2 kB / 0.5859 GB, free: 8.305 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.0004023/0.607, allocations: 163 kB / 0.586 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.6102, allocations: 1.367 MB / 0.5874 GB, free: 6.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6102, allocations: 3.938 kB / 0.5874 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.6119, allocations: 0.7702 MB / 0.5881 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.6128, allocations: 105.9 kB / 0.5882 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.6171, allocations: 2.083 MB / 0.5902 GB, free: 3.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.6179, allocations: 1.04 MB / 0.5913 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.6184, allocations: 106.8 kB / 0.5914 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.6186, allocations: 63.42 kB / 0.5914 GB, free: 2.547 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6186, allocations: 4 kB / 0.5914 GB, free: 2.543 MB / 446.1 MB Notification: Performance of Templates: time 0.02875/0.6474, allocations: 14.09 MB / 0.6052 GB, free: 4.523 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