Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008923/0.0008923, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008672/0.0008673, allocations: 176.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3107/0.3107, allocations: 43.54 MB / 314.5 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004895, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005694/0.1268, allocations: 5.544 MB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.1308, allocations: 2.059 MB / 450.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.1318, allocations: 20 kB / 450.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007232/0.1325, allocations: 234.5 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1346, allocations: 0.8063 MB / 451.4 MB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1358, allocations: 478.7 kB / 451.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.137, allocations: 0.8112 MB / 452.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.1393, allocations: 1.26 MB / 454 MB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.1398, allocations: 402.5 kB / 454.3 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.1403, allocations: 0.5096 MB / 454.9 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.1404, allocations: 48 kB / 454.9 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.1409, allocations: 203.8 kB / 455.1 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.141, allocations: 191.2 kB / 455.3 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1412, allocations: 213.1 kB / 455.5 MB, free: 488 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2107/0.352, allocations: 1.098 MB / 456.6 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.352, allocations: 0 / 456.6 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.352, allocations: 0 / 456.6 MB, free: 37.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.352, allocations: 0 / 456.6 MB, free: 37.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003399/0.3554, allocations: 1.489 MB / 458.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3555, allocations: 8.312 kB / 458.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.365, allocations: 1.439 MB / 459.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.366, allocations: 0.5309 MB / 460.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.3661, allocations: 92.06 kB / 460.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3663, allocations: 121.9 kB / 460.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3681, allocations: 1.174 MB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.3681, allocations: 6.75 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.3683, allocations: 51.72 kB / 461.5 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.3683, allocations: 30.5 kB / 461.5 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.3703, allocations: 1.435 MB / 463 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.3764, allocations: 4.864 MB / 467.8 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.378, allocations: 1.192 MB / 469 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.993e-05/0.3781, allocations: 106.6 kB / 469.1 MB, free: 34.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3781, allocations: 42.38 kB / 469.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.645e-06/0.3781, allocations: 2.969 kB / 469.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.001818/0.3799, allocations: 1.208 MB / 470.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.38, allocations: 61.28 kB / 470.4 MB, free: 33.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.3807, allocations: 0.7914 MB / 471.2 MB, free: 33.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.3808, allocations: 49.02 kB / 471.3 MB, free: 33.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.381, allocations: 477.7 kB / 471.7 MB, free: 33.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.3812, allocations: 314.2 kB / 472 MB, free: 33.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3812, allocations: 20.28 kB / 472.1 MB, free: 33.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3813, allocations: 397.2 kB / 472.5 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.3818, allocations: 341 kB / 472.8 MB, free: 32.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.3824, allocations: 0.6091 MB / 473.4 MB, free: 32.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.383, allocations: 428.9 kB / 473.8 MB, free: 32.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3831, allocations: 7.234 kB / 473.8 MB, free: 32.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001626/0.3847, allocations: 1.174 MB / 475 MB, free: 32.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3847, allocations: 9.312 kB / 475 MB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3847, allocations: 12.47 kB / 475 MB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.385, allocations: 70.42 kB / 475.1 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.3859, allocations: 261.1 kB / 475.3 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.3872, allocations: 2.644 MB / 478 MB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/0.388, allocations: 159.5 kB / 478.1 MB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.388, allocations: 47.44 kB / 478.2 MB, free: 29.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002959/0.3883, allocations: 259.5 kB / 478.4 MB, free: 29.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3885, allocations: 89.34 kB / 478.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.39, allocations: 1.115 MB / 479.6 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.39, allocations: 10.25 kB / 479.7 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.39, allocations: 0 / 479.7 MB, free: 29.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3901, allocations: 14.33 kB / 479.7 MB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.3929, allocations: 2.732 MB / 482.4 MB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3929, allocations: 5.875 kB / 482.4 MB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.3936, allocations: 185.2 kB / 482.6 MB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.3937, allocations: 61.3 kB / 482.6 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.3938, allocations: 24.78 kB / 482.7 MB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.395, allocations: 2.638 MB / 485.3 MB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3951, allocations: 9.031 kB / 485.3 MB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.3968, allocations: 1.778 MB / 487.1 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.397, allocations: 219.4 kB / 487.3 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3971, allocations: 24.34 kB / 487.3 MB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.3977, allocations: 53.78 kB / 487.4 MB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3978, allocations: 84.89 kB / 487.5 MB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.3979, allocations: 32 kB / 487.5 MB, free: 23.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005258/0.3984, allocations: 0.5569 MB / 488.1 MB, free: 23.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3984, allocations: 4 kB / 488.1 MB, free: 23.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.3993, allocations: 293.6 kB / 488.4 MB, free: 23.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.3995, allocations: 167.5 kB / 488.5 MB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.401, allocations: 1.094 MB / 489.6 MB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.401, allocations: 3.062 kB / 489.6 MB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.4018, allocations: 0.6219 MB / 490.2 MB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.4024, allocations: 107.3 kB / 490.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.4051, allocations: 2.137 MB / 492.5 MB, free: 21.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.4056, allocations: 1.014 MB / 493.5 MB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005786/0.4061, allocations: 153.4 kB / 493.6 MB, free: 20.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.4064, allocations: 78.98 kB / 493.7 MB, free: 20.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4064, allocations: 0 / 493.7 MB, free: 20.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01735/0.4237, allocations: 9.515 MB / 0.4914 GB, free: 19.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches