Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 200.6 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008272/0.0008275, allocations: 99.48 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3345/0.3345, allocations: 45.02 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002505, allocations: 8 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3045, allocations: 63.1 MB / 0.5214 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005737/0.3103, allocations: 6.497 MB / 0.5277 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.3143, allocations: 3.392 MB / 0.531 GB, free: 30.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.3148, allocations: 27.03 kB / 0.5311 GB, free: 30.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.3155, allocations: 343.7 kB / 0.5314 GB, free: 30.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3168, allocations: 0.7705 MB / 0.5321 GB, free: 30.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3182, allocations: 1.231 MB / 0.5333 GB, free: 28.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.3192, allocations: 1.18 MB / 0.5345 GB, free: 28.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.3219, allocations: 2.85 MB / 0.5373 GB, free: 25.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/0.3225, allocations: 448.9 kB / 0.5377 GB, free: 25.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.323, allocations: 0.5846 MB / 0.5383 GB, free: 25.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.3231, allocations: 51.03 kB / 0.5383 GB, free: 25.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.3237, allocations: 238.9 kB / 0.5386 GB, free: 25.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3238, allocations: 206.2 kB / 0.5387 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.3243, allocations: 0.5648 MB / 0.5393 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.3256, allocations: 1.507 MB / 0.5408 GB, free: 24.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3256, allocations: 0 / 0.5408 GB, free: 24.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3256, allocations: 0 / 0.5408 GB, free: 24.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.3256, allocations: 0 / 0.5408 GB, free: 24.32 MB / 378.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.003618/0.3293, allocations: 1.569 MB / 0.5423 GB, free: 23.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3293, allocations: 9.312 kB / 0.5423 GB, free: 23.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008735/0.338, allocations: 1.345 MB / 0.5436 GB, free: 23.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3391, allocations: 0.5547 MB / 0.5442 GB, free: 22.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.9e-05/0.3392, allocations: 95.75 kB / 0.5443 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.3394, allocations: 142.7 kB / 0.5444 GB, free: 22.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.3417, allocations: 1.233 MB / 0.5456 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3417, allocations: 3.234 kB / 0.5456 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3419, allocations: 59.72 kB / 0.5457 GB, free: 22.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.3419, allocations: 31.47 kB / 0.5457 GB, free: 22.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.3444, allocations: 1.446 MB / 0.5471 GB, free: 21.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007999/0.3525, allocations: 5.867 MB / 0.5528 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3542, allocations: 0.9532 MB / 0.5538 GB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/0.3548, allocations: 370.2 kB / 0.5541 GB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.3549, allocations: 184.6 kB / 0.5543 GB, free: 16.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.355, allocations: 43.47 kB / 0.5543 GB, free: 16.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.775e-06/0.355, allocations: 0 / 0.5543 GB, free: 16.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002053/0.357, allocations: 1.213 MB / 0.5555 GB, free: 15.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3571, allocations: 61.16 kB / 0.5556 GB, free: 15.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.3581, allocations: 0.8184 MB / 0.5564 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.3581, allocations: 45.64 kB / 0.5564 GB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.3584, allocations: 0.491 MB / 0.5569 GB, free: 14.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.3586, allocations: 313.2 kB / 0.5572 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.3587, allocations: 25.03 kB / 0.5572 GB, free: 14.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3588, allocations: 397.8 kB / 0.5576 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.3595, allocations: 357.2 kB / 0.5579 GB, free: 13.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.3602, allocations: 0.6126 MB / 0.5585 GB, free: 13.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.3615, allocations: 0.996 MB / 0.5595 GB, free: 12.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3616, allocations: 6.219 kB / 0.5595 GB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001987/0.3635, allocations: 1.177 MB / 0.5607 GB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3636, allocations: 12.88 kB / 0.5607 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3636, allocations: 8 kB / 0.5607 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.3639, allocations: 76.58 kB / 0.5608 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/0.3649, allocations: 259.3 kB / 0.561 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3664, allocations: 2.626 MB / 0.5636 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.3674, allocations: 157.6 kB / 0.5637 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.3675, allocations: 53.05 kB / 0.5638 GB, free: 9.105 MB / 378.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 () * 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 (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.0004653/0.3679, allocations: 260.1 kB / 0.564 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3681, allocations: 96.12 kB / 0.5641 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.3698, allocations: 1.113 MB / 0.5652 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3698, allocations: 8 kB / 0.5652 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3698, allocations: 4 kB / 0.5652 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.3698, allocations: 3.984 kB / 0.5652 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.3729, allocations: 3.158 MB / 0.5683 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3729, allocations: 8.781 kB / 0.5683 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.3736, allocations: 183.7 kB / 0.5685 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.3738, allocations: 61.67 kB / 0.5685 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.3738, allocations: 31.92 kB / 0.5686 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.3751, allocations: 2.619 MB / 0.5711 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3752, allocations: 8 kB / 0.5711 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.377, allocations: 1.487 MB / 0.5726 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.3773, allocations: 215.7 kB / 0.5728 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3774, allocations: 23.98 kB / 0.5728 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.378, allocations: 60.03 kB / 0.5729 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3781, allocations: 88.23 kB / 0.573 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.3782, allocations: 31.98 kB / 0.573 GB, free: 15.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007246/0.3789, allocations: 0.5732 MB / 0.5735 GB, free: 14.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3789, allocations: 0 / 0.5735 GB, free: 14.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.3799, allocations: 303.4 kB / 0.5738 GB, free: 14.52 MB / 394.7 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 (93): * Single equations (assignments): 91 * 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 Backend phase and start with SimCode phase: time 0.0002896/0.3802, allocations: 184 kB / 0.574 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3821, allocations: 1.094 MB / 0.5751 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3821, allocations: 0 / 0.5751 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.383, allocations: 0.63 MB / 0.5757 GB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.3843, allocations: 120.1 kB / 0.5758 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.3874, allocations: 2.343 MB / 0.5781 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.388, allocations: 1.016 MB / 0.5791 GB, free: 8.957 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006236/0.3886, allocations: 151.8 kB / 0.5792 GB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3888, allocations: 79.42 kB / 0.5793 GB, free: 8.727 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3888, allocations: 0 / 0.5793 GB, free: 8.727 MB / 394.7 MB Notification: Performance of Templates: time 0.01664/0.4055, allocations: 10.05 MB / 0.5891 GB, free: 14.69 MB / 410.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