Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 180.8 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.7 MB / 243.9 MB, free: 10.2 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 100.9 kB / 295.1 MB, free: 9.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3589/0.3589, allocations: 44.33 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003375, allocations: 8 kB / 463.2 MB, free: 260 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005331/0.3859, allocations: 6.001 MB / 0.5186 GB, free: 33.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.3899, allocations: 3.02 MB / 0.5216 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004136/0.3904, allocations: 20.31 kB / 0.5216 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.3911, allocations: 318.4 kB / 0.5219 GB, free: 30.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.3926, allocations: 1.137 MB / 0.523 GB, free: 29.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3937, allocations: 0.9101 MB / 0.5239 GB, free: 29.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.3945, allocations: 1.089 MB / 0.5249 GB, free: 28.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.3966, allocations: 2.388 MB / 0.5273 GB, free: 26.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.3971, allocations: 404.2 kB / 0.5277 GB, free: 26.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3975, allocations: 0.5379 MB / 0.5282 GB, free: 26.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.3976, allocations: 46.03 kB / 0.5282 GB, free: 26.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.3981, allocations: 216.7 kB / 0.5284 GB, free: 25.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3982, allocations: 199.1 kB / 0.5286 GB, free: 25.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.3985, allocations: 0.5193 MB / 0.5291 GB, free: 25.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.3995, allocations: 1.367 MB / 0.5305 GB, free: 25.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3996, allocations: 3.938 kB / 0.5305 GB, free: 25.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3996, allocations: 0 / 0.5305 GB, free: 25.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3996, allocations: 2.562 kB / 0.5305 GB, free: 25.05 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003098/0.4027, allocations: 1.465 MB / 0.5319 GB, free: 24.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4027, allocations: 9.219 kB / 0.5319 GB, free: 24.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008003/0.4108, allocations: 1.334 MB / 0.5332 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.4115, allocations: 0.5335 MB / 0.5337 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.4115, allocations: 96.47 kB / 0.5338 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.4117, allocations: 119.2 kB / 0.5339 GB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.4135, allocations: 1.132 MB / 0.535 GB, free: 23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.4136, allocations: 6.938 kB / 0.5351 GB, free: 22.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.4137, allocations: 48.84 kB / 0.5351 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4137, allocations: 29.22 kB / 0.5351 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4156, allocations: 1.375 MB / 0.5365 GB, free: 22.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/0.4214, allocations: 4.701 MB / 0.5411 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.4228, allocations: 0.9292 MB / 0.542 GB, free: 19.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.4233, allocations: 362.8 kB / 0.5423 GB, free: 18.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.097e-05/0.4234, allocations: 104.4 kB / 0.5424 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4234, allocations: 45.34 kB / 0.5425 GB, free: 18.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.605e-06/0.4234, allocations: 0 / 0.5425 GB, free: 18.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.00177/0.4252, allocations: 1.205 MB / 0.5436 GB, free: 18.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.4252, allocations: 61.41 kB / 0.5437 GB, free: 18.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/0.426, allocations: 0.7742 MB / 0.5444 GB, free: 17.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.426, allocations: 40.7 kB / 0.5445 GB, free: 17.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.4262, allocations: 461.7 kB / 0.5449 GB, free: 17.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4263, allocations: 297.7 kB / 0.5452 GB, free: 17.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.4264, allocations: 21.97 kB / 0.5452 GB, free: 17.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.4265, allocations: 400.3 kB / 0.5456 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.427, allocations: 332.1 kB / 0.5459 GB, free: 16.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.4276, allocations: 0.5692 MB / 0.5465 GB, free: 16.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.4288, allocations: 0.9242 MB / 0.5474 GB, free: 15.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4288, allocations: 6.438 kB / 0.5474 GB, free: 15.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001712/0.4305, allocations: 1.125 MB / 0.5485 GB, free: 15.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4306, allocations: 6.656 kB / 0.5485 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4306, allocations: 11.14 kB / 0.5485 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.4308, allocations: 62.25 kB / 0.5486 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/0.4317, allocations: 249.7 kB / 0.5488 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.4331, allocations: 2.634 MB / 0.5514 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.4338, allocations: 144.5 kB / 0.5515 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.4339, allocations: 44.41 kB / 0.5516 GB, free: 12.21 MB / 378.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 () * 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.0002762/0.4342, allocations: 251.6 kB / 0.5518 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4343, allocations: 90.19 kB / 0.5519 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.4359, allocations: 1.102 MB / 0.553 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4359, allocations: 9.5 kB / 0.553 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4359, allocations: 1.688 kB / 0.553 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4359, allocations: 10.59 kB / 0.553 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.439, allocations: 2.702 MB / 0.5556 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.439, allocations: 10.06 kB / 0.5556 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006919/0.4397, allocations: 178.8 kB / 0.5558 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.4399, allocations: 64.25 kB / 0.5559 GB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.44, allocations: 26.19 kB / 0.5559 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.4416, allocations: 2.626 MB / 0.5585 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.4416, allocations: 10.55 kB / 0.5585 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.4439, allocations: 1.465 MB / 0.5599 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.4441, allocations: 208.3 kB / 0.5601 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4442, allocations: 23.94 kB / 0.5601 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.4448, allocations: 63.03 kB / 0.5602 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.445, allocations: 71.52 kB / 0.5602 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.445, allocations: 40 kB / 0.5603 GB, free: 5.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006598/0.4457, allocations: 0.5474 MB / 0.5608 GB, free: 5.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4457, allocations: 0 / 0.5608 GB, free: 5.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008673/0.4466, allocations: 289.8 kB / 0.5611 GB, free: 5.445 MB / 378.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 (92): * Single equations (assignments): 90 * 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.0002503/0.4468, allocations: 172.6 kB / 0.5613 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.4485, allocations: 1.068 MB / 0.5623 GB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4486, allocations: 0.9688 kB / 0.5623 GB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.4494, allocations: 0.6199 MB / 0.5629 GB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4506, allocations: 119.6 kB / 0.563 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.4532, allocations: 2.229 MB / 0.5652 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.4537, allocations: 0.9943 MB / 0.5662 GB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000604/0.4543, allocations: 147.1 kB / 0.5663 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.4546, allocations: 81.25 kB / 0.5664 GB, free: 2.082 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4546, allocations: 0 / 0.5664 GB, free: 2.082 MB / 378.7 MB Notification: Performance of Templates: time 0.01602/0.4706, allocations: 9.704 MB / 0.5759 GB, free: 10.77 MB / 394.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