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.001533/0.001533, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2582/0.2582, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 75.88 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3789, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008917/0.3879, allocations: 7.747 MB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.3932, allocations: 2.41 MB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.3939, allocations: 29.06 kB / 0.5409 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.3978, allocations: 1.815 MB / 0.5427 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.3997, allocations: 0.7051 MB / 0.5434 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.402, allocations: 1.077 MB / 0.5444 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.404, allocations: 1.415 MB / 0.5458 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.4054, allocations: 1.003 MB / 0.5468 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008716/0.4063, allocations: 0.6019 MB / 0.5474 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007953/0.4071, allocations: 0.7353 MB / 0.5481 GB, free: 312 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.4073, allocations: 112 kB / 0.5482 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.4082, allocations: 335.8 kB / 0.5485 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.4084, allocations: 298.9 kB / 0.5488 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.409, allocations: 0.653 MB / 0.5495 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.4111, allocations: 1.767 MB / 0.5512 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4111, allocations: 0 / 0.5512 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4111, allocations: 0 / 0.5512 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.4111, allocations: 0 / 0.5512 GB, free: 13.14 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.007577/0.4187, allocations: 2.377 MB / 0.5535 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.4188, allocations: 12.03 kB / 0.5535 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009742/0.4285, allocations: 1.396 MB / 0.5549 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.43, allocations: 0.609 MB / 0.5555 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.4301, allocations: 99.02 kB / 0.5556 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.4303, allocations: 128.4 kB / 0.5557 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.4328, allocations: 1.487 MB / 0.5571 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.4329, allocations: 7.891 kB / 0.5572 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.433, allocations: 56 kB / 0.5572 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.433, allocations: 32 kB / 0.5572 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.4356, allocations: 1.517 MB / 0.5587 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008143/0.4438, allocations: 5.583 MB / 0.5642 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.4462, allocations: 2.178 MB / 0.5663 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000976/0.4472, allocations: 0.6476 MB / 0.5669 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.4475, allocations: 191.2 kB / 0.5671 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4475, allocations: 47.56 kB / 0.5672 GB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.516e-06/0.4475, allocations: 0 / 0.5672 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008896/0.4564, allocations: 3.094 MB / 0.5702 GB, free: 8.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4565, allocations: 90.11 kB / 0.5703 GB, free: 8.789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.4571, allocations: 469.8 kB / 0.5707 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.4572, allocations: 45.7 kB / 0.5708 GB, free: 8.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.4575, allocations: 467.5 kB / 0.5712 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.4578, allocations: 429.8 kB / 0.5716 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.4582, allocations: 214.8 kB / 0.5718 GB, free: 7.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4584, allocations: 382.7 kB / 0.5722 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.4592, allocations: 454.4 kB / 0.5726 GB, free: 6.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.4603, allocations: 0.6958 MB / 0.5733 GB, free: 5.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.4622, allocations: 1.194 MB / 0.5745 GB, free: 4.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4622, allocations: 0 / 0.5745 GB, free: 4.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002867/0.4651, allocations: 1.597 MB / 0.576 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4651, allocations: 11.98 kB / 0.576 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.4651, allocations: 8 kB / 0.576 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.4667, allocations: 0.5204 MB / 0.5765 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.4675, allocations: 199.7 kB / 0.5767 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001924/0.4677, allocations: 57.19 kB / 0.5768 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.4684, allocations: 130.6 kB / 0.5769 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.4685, allocations: 51.98 kB / 0.577 GB, free: 1.676 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.0004387/0.4689, allocations: 265.6 kB / 0.5772 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4691, allocations: 79 kB / 0.5773 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.472, allocations: 1.567 MB / 0.5788 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.472, allocations: 15.94 kB / 0.5788 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.472, allocations: 3.938 kB / 0.5788 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.472, allocations: 7.984 kB / 0.5789 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.4765, allocations: 2.851 MB / 0.5816 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4766, allocations: 0 / 0.5816 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/0.4772, allocations: 147.7 kB / 0.5818 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.4787, allocations: 0.5184 MB / 0.5823 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.4788, allocations: 27.98 kB / 0.5823 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003185/0.4791, allocations: 68.73 kB / 0.5824 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4791, allocations: 3.938 kB / 0.5824 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.483, allocations: 2.341 MB / 0.5847 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.4835, allocations: 283.6 kB / 0.5849 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4836, allocations: 27.94 kB / 0.585 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.4842, allocations: 43.97 kB / 0.585 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.4844, allocations: 77.28 kB / 0.5851 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.4845, allocations: 35.98 kB / 0.5851 GB, free: 9.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003822/0.4849, allocations: 310.9 kB / 0.5854 GB, free: 8.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4849, allocations: 0 / 0.5854 GB, free: 8.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001016/0.4859, allocations: 343.1 kB / 0.5857 GB, free: 8.555 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.0003172/0.4862, allocations: 163.1 kB / 0.5859 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.4892, allocations: 1.367 MB / 0.5872 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4892, allocations: 448 / 0.5872 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.4909, allocations: 0.7738 MB / 0.588 GB, free: 6.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/0.4916, allocations: 102.4 kB / 0.5881 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.4952, allocations: 2.063 MB / 0.5901 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.4959, allocations: 1.044 MB / 0.5911 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005152/0.4964, allocations: 110.7 kB / 0.5912 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.4966, allocations: 63.42 kB / 0.5913 GB, free: 2.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4966, allocations: 0 / 0.5913 GB, free: 2.82 MB / 446.1 MB Notification: Performance of Templates: time 0.0253/0.5219, allocations: 14.6 MB / 0.6055 GB, free: 4.285 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