Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 185.9 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3556, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007242/0.3629, allocations: 6.932 MB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.3676, allocations: 2.203 MB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.3687, allocations: 24.78 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.3726, allocations: 1.522 MB / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.3762, allocations: 0.837 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.378, allocations: 0.5865 MB / 0.5314 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.3806, allocations: 1.15 MB / 0.5325 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.3825, allocations: 0.808 MB / 0.5333 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3837, allocations: 475.8 kB / 0.5338 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3848, allocations: 0.6008 MB / 0.5343 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003151/0.3852, allocations: 93.22 kB / 0.5344 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3864, allocations: 284.5 kB / 0.5347 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.3869, allocations: 254.3 kB / 0.5349 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.3885, allocations: 0.5489 MB / 0.5355 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.3919, allocations: 1.457 MB / 0.5369 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3919, allocations: 1.031 kB / 0.5369 GB, free: 7.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3919, allocations: 0 / 0.5369 GB, free: 7.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.97e-05/0.392, allocations: 0 / 0.5369 GB, free: 7.332 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.005985/0.398, allocations: 1.675 MB / 0.5385 GB, free: 6.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.3981, allocations: 11.88 kB / 0.5386 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.408, allocations: 1.318 MB / 0.5398 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.4095, allocations: 0.5401 MB / 0.5404 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.4096, allocations: 90.81 kB / 0.5405 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.4099, allocations: 126.5 kB / 0.5406 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.4127, allocations: 1.135 MB / 0.5417 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/0.4128, allocations: 3 kB / 0.5417 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.4129, allocations: 53.97 kB / 0.5417 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.413, allocations: 33.17 kB / 0.5418 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.4157, allocations: 1.364 MB / 0.5431 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008102/0.4238, allocations: 4.641 MB / 0.5476 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.4256, allocations: 0.9303 MB / 0.5485 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.4263, allocations: 375.6 kB / 0.5489 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.4265, allocations: 94.09 kB / 0.549 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4265, allocations: 51.55 kB / 0.549 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 5.29e-06/0.4265, allocations: 3.984 kB / 0.549 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002187/0.4287, allocations: 1.187 MB / 0.5502 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4288, allocations: 64.41 kB / 0.5503 GB, free: 12.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/0.4297, allocations: 0.7815 MB / 0.551 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.4298, allocations: 41.7 kB / 0.5511 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.4301, allocations: 459 kB / 0.5515 GB, free: 10.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.4303, allocations: 303.6 kB / 0.5518 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.4306, allocations: 194.8 kB / 0.552 GB, free: 10.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.4309, allocations: 390.7 kB / 0.5524 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/0.4315, allocations: 334.5 kB / 0.5527 GB, free: 9.539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.4323, allocations: 0.5661 MB / 0.5532 GB, free: 8.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.4337, allocations: 0.9192 MB / 0.5541 GB, free: 7.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.4337, allocations: 7.938 kB / 0.5541 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002014/0.4357, allocations: 1.119 MB / 0.5552 GB, free: 6.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4358, allocations: 8 kB / 0.5552 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4358, allocations: 8 kB / 0.5552 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.4361, allocations: 70.14 kB / 0.5553 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.437, allocations: 247.6 kB / 0.5555 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.439, allocations: 2.832 MB / 0.5583 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.4399, allocations: 138.3 kB / 0.5584 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.44, allocations: 47.98 kB / 0.5585 GB, free: 3.102 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003714/0.4404, allocations: 245.6 kB / 0.5587 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4406, allocations: 90.97 kB / 0.5588 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.4424, allocations: 1.091 MB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4424, allocations: 11.91 kB / 0.5599 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4424, allocations: 4 kB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.4427, allocations: 187.8 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.4429, allocations: 16 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.4435, allocations: 47.97 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4437, allocations: 56.92 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001815/0.4455, allocations: 0.8975 MB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001876/0.4474, allocations: 1.282 MB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00051/0.4479, allocations: 331.9 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007789/0.4487, allocations: 0.5537 MB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of Backend: time 4.6e-07/0.4487, allocations: 0 / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.4508, allocations: 0.9829 MB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of SimCode: time 0.002536/0.4534, allocations: 1.886 MB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of Templates: time 0.02619/0.4796, allocations: 14.8 MB / 0.5804 GB, free: 12.52 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches