Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008267/0.0008267, allocations: 98.77 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 45.16 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.364e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5239, allocations: 100.6 MB / 0.6026 GB, free: 2.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5242, allocations: 84.08 kB / 0.6027 GB, free: 2.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08339/0.6076, allocations: 37.05 MB / 0.6389 GB, free: 4.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6076, allocations: 0 / 0.6389 GB, free: 4.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.6077, allocations: 23.94 kB / 0.6389 GB, free: 4.273 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00378/0.6115, allocations: 1.33 MB / 0.6402 GB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6116, allocations: 8.031 kB / 0.6402 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/0.6178, allocations: 0.9516 MB / 0.6412 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.619, allocations: 0.5677 MB / 0.6417 GB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.6191, allocations: 40 kB / 0.6417 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.6194, allocations: 79.69 kB / 0.6418 GB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002354/0.6218, allocations: 1.317 MB / 0.6431 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.6236, allocations: 0.9299 MB / 0.644 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.6237, allocations: 7.891 kB / 0.644 GB, free: 52 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/0.6238, allocations: 4 kB / 0.644 GB, free: 48 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.6238, allocations: 32 kB / 0.6441 GB, free: 16 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009231/0.6331, allocations: 5.58 MB / 0.6495 GB, free: 9.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.6348, allocations: 0.8657 MB / 0.6504 GB, free: 9.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.6353, allocations: 312.9 kB / 0.6507 GB, free: 8.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.6355, allocations: 191 kB / 0.6508 GB, free: 8.559 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.6356, allocations: 39.34 kB / 0.6509 GB, free: 8.508 MB / 442.7 MB Notification: Performance of pre-optimization done (n=90): time 3.126e-06/0.6356, allocations: 0 / 0.6509 GB, free: 8.508 MB / 442.7 MB Notification: Performance of matching and sorting (n=90): time 0.002698/0.6383, allocations: 0.9343 MB / 0.6518 GB, free: 7.562 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.6383, allocations: 64.12 kB / 0.6518 GB, free: 7.488 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.639, allocations: 437 kB / 0.6523 GB, free: 7.055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.6391, allocations: 25.7 kB / 0.6523 GB, free: 7.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.6394, allocations: 0.529 MB / 0.6528 GB, free: 6.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6397, allocations: 295.6 kB / 0.6531 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.6397, allocations: 4 kB / 0.6531 GB, free: 6.188 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6399, allocations: 366.8 kB / 0.6534 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.6404, allocations: 298.6 kB / 0.6537 GB, free: 5.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.641, allocations: 0.5464 MB / 0.6543 GB, free: 4.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.6438, allocations: 0.8257 MB / 0.6551 GB, free: 4.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.6438, allocations: 8 kB / 0.6551 GB, free: 4.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003871/0.6477, allocations: 1.438 MB / 0.6565 GB, free: 2.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6478, allocations: 11.95 kB / 0.6565 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6478, allocations: 8.812 kB / 0.6565 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.6481, allocations: 77.61 kB / 0.6566 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6491, allocations: 259.6 kB / 0.6568 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.651, allocations: 2.528 MB / 0.6593 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/0.6518, allocations: 94.8 kB / 0.6594 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.6519, allocations: 52 kB / 0.6594 GB, free: 15.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001836/0.6521, allocations: 128.8 kB / 0.6596 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.6523, allocations: 63.25 kB / 0.6596 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.6549, allocations: 1.192 MB / 0.6608 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.655, allocations: 15.98 kB / 0.6608 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.655, allocations: 3.938 kB / 0.6608 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.655, allocations: 7.969 kB / 0.6608 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/0.6598, allocations: 3.081 MB / 0.6638 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.6598, allocations: 4 kB / 0.6638 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.6605, allocations: 183.8 kB / 0.664 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.6608, allocations: 65.67 kB / 0.6641 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.6608, allocations: 12 kB / 0.6641 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.6626, allocations: 2.512 MB / 0.6665 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.6626, allocations: 11.94 kB / 0.6665 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.6658, allocations: 1.83 MB / 0.6683 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.666, allocations: 180 kB / 0.6685 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6661, allocations: 11.98 kB / 0.6685 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.6667, allocations: 48.03 kB / 0.6685 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6669, allocations: 76.25 kB / 0.6686 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.667, allocations: 39.98 kB / 0.6687 GB, free: 5.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003724/0.6673, allocations: 331 kB / 0.669 GB, free: 4.699 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6673, allocations: 0 / 0.669 GB, free: 4.699 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001037/0.6684, allocations: 314.8 kB / 0.6693 GB, free: 4.391 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentRMSSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 91 * 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.0002865/0.6687, allocations: 175.2 kB / 0.6694 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.6702, allocations: 0.9582 MB / 0.6704 GB, free: 3.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6702, allocations: 4 kB / 0.6704 GB, free: 3.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.671, allocations: 0.5713 MB / 0.6709 GB, free: 2.637 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.6714, allocations: 50.08 kB / 0.671 GB, free: 2.582 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.6739, allocations: 1.323 MB / 0.6723 GB, free: 1.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.6745, allocations: 1.042 MB / 0.6733 GB, free: 96 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006375/0.6752, allocations: 125.8 kB / 0.6734 GB, free: 15.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.6754, allocations: 67.42 kB / 0.6735 GB, free: 15.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.804e-06/0.6754, allocations: 0 / 0.6735 GB, free: 15.9 MB / 474.7 MB Notification: Performance of Templates: time 0.0134/0.6888, allocations: 7.72 MB / 0.681 GB, free: 8.223 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches