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.001128/0.001128, allocations: 110.6 kB / 18.44 MB, free: 4.691 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.001218/0.001218, allocations: 191.1 kB / 19.38 MB, free: 3.766 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.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2136/0.2136, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00704/0.3288, allocations: 6.931 MB / 0.5263 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.3341, allocations: 2.21 MB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3355, allocations: 28.5 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.3396, allocations: 1.521 MB / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.3425, allocations: 0.8327 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3442, allocations: 0.5715 MB / 0.5314 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.3463, allocations: 1.15 MB / 0.5325 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3478, allocations: 0.8126 MB / 0.5333 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008558/0.3486, allocations: 482.6 kB / 0.5338 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3498, allocations: 0.5968 MB / 0.5343 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.3501, allocations: 95.56 kB / 0.5344 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.351, allocations: 279.4 kB / 0.5347 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.3513, allocations: 257.7 kB / 0.5349 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.3522, allocations: 0.5524 MB / 0.5355 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.3543, allocations: 1.456 MB / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3544, allocations: 0 / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3544, allocations: 0 / 0.5369 GB, free: 7.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.514e-05/0.3544, allocations: 1.062 kB / 0.5369 GB, free: 7.34 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.004705/0.3591, allocations: 1.715 MB / 0.5386 GB, free: 6.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3592, allocations: 8.875 kB / 0.5386 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009326/0.3685, allocations: 1.318 MB / 0.5399 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3697, allocations: 0.5451 MB / 0.5404 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.3698, allocations: 90.16 kB / 0.5405 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.3701, allocations: 122.3 kB / 0.5406 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.3726, allocations: 1.144 MB / 0.5417 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.79e-05/0.3726, allocations: 1.188 kB / 0.5417 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.3728, allocations: 50.66 kB / 0.5418 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.3729, allocations: 33.08 kB / 0.5418 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.3756, allocations: 1.373 MB / 0.5431 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007692/0.3833, allocations: 4.653 MB / 0.5477 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.385, allocations: 0.9303 MB / 0.5486 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.3856, allocations: 363.7 kB / 0.5489 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3857, allocations: 106.1 kB / 0.549 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3858, allocations: 43.5 kB / 0.5491 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 5.46e-06/0.3858, allocations: 0 / 0.5491 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002203/0.388, allocations: 1.203 MB / 0.5503 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.3881, allocations: 64.34 kB / 0.5503 GB, free: 11.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.389, allocations: 0.7855 MB / 0.5511 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.3891, allocations: 45.7 kB / 0.5511 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.3894, allocations: 464.2 kB / 0.5516 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.3896, allocations: 317.2 kB / 0.5519 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.3899, allocations: 190.9 kB / 0.5521 GB, free: 10.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3901, allocations: 394.7 kB / 0.5524 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.3907, allocations: 334.5 kB / 0.5528 GB, free: 9.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.3915, allocations: 0.5622 MB / 0.5533 GB, free: 8.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.3928, allocations: 0.9192 MB / 0.5542 GB, free: 7.777 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3929, allocations: 3.938 kB / 0.5542 GB, free: 7.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001915/0.3948, allocations: 1.124 MB / 0.5553 GB, free: 6.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3948, allocations: 8 kB / 0.5553 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3948, allocations: 12.06 kB / 0.5553 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.3951, allocations: 61.67 kB / 0.5554 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/0.3961, allocations: 251.6 kB / 0.5556 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.3982, allocations: 2.84 MB / 0.5584 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.3991, allocations: 154.9 kB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.3992, allocations: 43.98 kB / 0.5586 GB, free: 2.988 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.0003563/0.3996, allocations: 245.5 kB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.3997, allocations: 87.44 kB / 0.5589 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.4016, allocations: 1.103 MB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4016, allocations: 3.984 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4016, allocations: 0 / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.4019, allocations: 188.3 kB / 0.5602 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.402, allocations: 27.89 kB / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.4026, allocations: 51.97 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4027, allocations: 52.92 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001824/0.4045, allocations: 0.8976 MB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001898/0.4064, allocations: 1.286 MB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000495/0.4069, allocations: 323.9 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007312/0.4077, allocations: 0.5576 MB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of Backend: time 5.3e-07/0.4077, allocations: 0 / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.4099, allocations: 0.9928 MB / 0.5642 GB, free: 13.08 MB / 430.1 MB Notification: Performance of SimCode: time 0.002663/0.4126, allocations: 1.919 MB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of Templates: time 0.02353/0.4361, allocations: 14.79 MB / 0.5806 GB, free: 12.37 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