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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008457, allocations: 91.98 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.354e-05, allocations: 8.203 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5615, allocations: 99.15 MB / 0.5985 GB, free: 6.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5618, allocations: 79.95 kB / 0.5986 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07322/0.635, allocations: 32.6 MB / 0.6304 GB, free: 5.156 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6351, allocations: 0 / 0.6304 GB, free: 5.156 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.925e-05/0.6351, allocations: 24 kB / 0.6305 GB, free: 5.133 MB / 442.7 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.002884/0.638, allocations: 1.237 MB / 0.6317 GB, free: 3.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6381, allocations: 8.031 kB / 0.6317 GB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.6442, allocations: 0.9507 MB / 0.6326 GB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.6457, allocations: 0.5309 MB / 0.6331 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.6458, allocations: 90.41 kB / 0.6332 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.646, allocations: 116 kB / 0.6333 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.6481, allocations: 1.094 MB / 0.6344 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.6482, allocations: 3.906 kB / 0.6344 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.6483, allocations: 52 kB / 0.6344 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.6483, allocations: 32 kB / 0.6345 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.6505, allocations: 1.318 MB / 0.6358 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00724/0.6577, allocations: 4.721 MB / 0.6404 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.6594, allocations: 0.889 MB / 0.6412 GB, free: 9.648 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.6599, allocations: 339.1 kB / 0.6416 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.66, allocations: 101.9 kB / 0.6417 GB, free: 9.195 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.66, allocations: 43.34 kB / 0.6417 GB, free: 9.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.856e-06/0.66, allocations: 0 / 0.6417 GB, free: 9.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.001361/0.6614, allocations: 0.7039 MB / 0.6424 GB, free: 8.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.6615, allocations: 60.19 kB / 0.6424 GB, free: 8.355 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.6623, allocations: 0.6989 MB / 0.6431 GB, free: 7.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.6624, allocations: 41.7 kB / 0.6432 GB, free: 7.602 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.6627, allocations: 458.9 kB / 0.6436 GB, free: 7.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.6629, allocations: 303.6 kB / 0.6439 GB, free: 6.844 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.663, allocations: 20 kB / 0.6439 GB, free: 6.824 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6631, allocations: 394.7 kB / 0.6443 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.6636, allocations: 310.6 kB / 0.6446 GB, free: 6.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.6643, allocations: 0.5349 MB / 0.6451 GB, free: 5.496 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.665, allocations: 388.8 kB / 0.6455 GB, free: 5.117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.665, allocations: 8 kB / 0.6455 GB, free: 5.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001698/0.6667, allocations: 1.068 MB / 0.6465 GB, free: 4.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6667, allocations: 8 kB / 0.6465 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6667, allocations: 4 kB / 0.6465 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.667, allocations: 70.05 kB / 0.6466 GB, free: 3.941 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.668, allocations: 251.6 kB / 0.6468 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.67, allocations: 2.623 MB / 0.6494 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009468/0.6709, allocations: 146.3 kB / 0.6495 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.671, allocations: 43.98 kB / 0.6496 GB, free: 0.6172 MB / 458.7 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 () * 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 (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.0002047/0.6712, allocations: 168.7 kB / 0.6497 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6714, allocations: 90.88 kB / 0.6498 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.6731, allocations: 1.047 MB / 0.6509 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6731, allocations: 8 kB / 0.6509 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6732, allocations: 4 kB / 0.6509 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.6732, allocations: 7.984 kB / 0.6509 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.6766, allocations: 2.629 MB / 0.6534 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6766, allocations: 8 kB / 0.6535 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.6773, allocations: 176.4 kB / 0.6536 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.6775, allocations: 65.67 kB / 0.6537 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.6776, allocations: 24 kB / 0.6537 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.6794, allocations: 2.631 MB / 0.6563 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.6794, allocations: 15.83 kB / 0.6563 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.6814, allocations: 1.68 MB / 0.6579 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.6818, allocations: 211.7 kB / 0.6581 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6819, allocations: 24 kB / 0.6582 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.6825, allocations: 60.03 kB / 0.6582 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6826, allocations: 80.31 kB / 0.6583 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.6827, allocations: 35.98 kB / 0.6583 GB, free: 6.855 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006964/0.6834, allocations: 0.5343 MB / 0.6588 GB, free: 6.328 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6834, allocations: 0 / 0.6588 GB, free: 6.328 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009604/0.6844, allocations: 295.5 kB / 0.6591 GB, free: 6.039 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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.0003119/0.6847, allocations: 192.2 kB / 0.6593 GB, free: 5.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.6863, allocations: 1.001 MB / 0.6603 GB, free: 4.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6863, allocations: 4 kB / 0.6603 GB, free: 4.816 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.6871, allocations: 0.6009 MB / 0.6609 GB, free: 4.191 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.6877, allocations: 107.5 kB / 0.661 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.6901, allocations: 1.334 MB / 0.6623 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.6906, allocations: 1.016 MB / 0.6633 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006235/0.6912, allocations: 143.4 kB / 0.6634 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.6915, allocations: 79.42 kB / 0.6635 GB, free: 1.375 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6915, allocations: 0 / 0.6635 GB, free: 1.375 MB / 474.7 MB Notification: Performance of Templates: time 0.0175/0.709, allocations: 9.629 MB / 0.6729 GB, free: 7.801 MB / 490.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches