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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 105.2 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 221.4 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.24 MB / 331 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 68.45 kB / 468.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1024, allocations: 61.05 MB / 0.5174 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00845/0.1108, allocations: 6.978 MB / 0.5242 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.115, allocations: 2.221 MB / 0.5264 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.1157, allocations: 23.94 kB / 0.5264 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.1193, allocations: 1.528 MB / 0.5279 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.1213, allocations: 0.6992 MB / 0.5286 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.1229, allocations: 0.7281 MB / 0.5293 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.1246, allocations: 1.183 MB / 0.5304 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.1259, allocations: 0.7803 MB / 0.5312 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007415/0.1266, allocations: 494.1 kB / 0.5317 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009559/0.1276, allocations: 0.6146 MB / 0.5323 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.1278, allocations: 100 kB / 0.5324 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009127/0.1288, allocations: 287.8 kB / 0.5326 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.1291, allocations: 251 kB / 0.5329 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.1298, allocations: 0.5674 MB / 0.5334 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.1316, allocations: 1.478 MB / 0.5349 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.1316, allocations: 7.984 kB / 0.5349 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1316, allocations: 0 / 0.5349 GB, free: 4.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.1317, allocations: 0 / 0.5349 GB, free: 4.793 MB / 414.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.00425/0.1359, allocations: 1.659 MB / 0.5365 GB, free: 3.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.136, allocations: 11.97 kB / 0.5365 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009551/0.1455, allocations: 1.428 MB / 0.5379 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1466, allocations: 0.4955 MB / 0.5384 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.1466, allocations: 86.48 kB / 0.5385 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.1469, allocations: 128 kB / 0.5386 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1822/0.3291, allocations: 1.175 MB / 0.5397 GB, free: 27.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.3292, allocations: 6.703 kB / 0.5397 GB, free: 27.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.3293, allocations: 50.12 kB / 0.5398 GB, free: 27.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.3293, allocations: 30.25 kB / 0.5398 GB, free: 27.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.3315, allocations: 1.436 MB / 0.5412 GB, free: 27.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.3377, allocations: 3.888 MB / 0.545 GB, free: 25.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.3392, allocations: 0.8307 MB / 0.5458 GB, free: 25.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.3397, allocations: 332.6 kB / 0.5461 GB, free: 25.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.3398, allocations: 22.77 kB / 0.5462 GB, free: 25.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3398, allocations: 55.61 kB / 0.5462 GB, free: 25.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.195e-06/0.3398, allocations: 0 / 0.5462 GB, free: 25.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.001874/0.3417, allocations: 1.047 MB / 0.5472 GB, free: 24.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3417, allocations: 62.05 kB / 0.5473 GB, free: 24.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/0.3425, allocations: 0.7999 MB / 0.5481 GB, free: 24.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.3426, allocations: 40.95 kB / 0.5481 GB, free: 24.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3428, allocations: 490.7 kB / 0.5486 GB, free: 23.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.3429, allocations: 332.3 kB / 0.5489 GB, free: 23.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3432, allocations: 200.9 kB / 0.5491 GB, free: 23.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.3433, allocations: 402.8 kB / 0.5495 GB, free: 23.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.3438, allocations: 339 kB / 0.5498 GB, free: 23.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.3444, allocations: 0.6063 MB / 0.5504 GB, free: 22.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3455, allocations: 0.9815 MB / 0.5514 GB, free: 21.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3455, allocations: 2.344 kB / 0.5514 GB, free: 21.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001753/0.3473, allocations: 1.167 MB / 0.5525 GB, free: 21.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3473, allocations: 17.72 kB / 0.5525 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3473, allocations: 6.969 kB / 0.5525 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.3476, allocations: 68.42 kB / 0.5526 GB, free: 21.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.3485, allocations: 262.8 kB / 0.5528 GB, free: 21.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3498, allocations: 2.624 MB / 0.5554 GB, free: 18.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.3506, allocations: 159.4 kB / 0.5556 GB, free: 18.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.3506, allocations: 47.58 kB / 0.5556 GB, free: 18.72 MB / 414.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 (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.0002876/0.3509, allocations: 249.5 kB / 0.5558 GB, free: 18.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.351, allocations: 100.6 kB / 0.5559 GB, free: 18.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3526, allocations: 1.105 MB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3526, allocations: 9.094 kB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3526, allocations: 1.125 kB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3526, allocations: 6.938 kB / 0.557 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3555, allocations: 2.333 MB / 0.5593 GB, free: 16.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.3555, allocations: 5.188 kB / 0.5593 GB, free: 16.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.3562, allocations: 175.9 kB / 0.5595 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.3564, allocations: 68.7 kB / 0.5595 GB, free: 16.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.3564, allocations: 28.88 kB / 0.5596 GB, free: 16.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.3576, allocations: 2.625 MB / 0.5621 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3576, allocations: 11.03 kB / 0.5621 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.3594, allocations: 1.485 MB / 0.5636 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.3596, allocations: 124.7 kB / 0.5637 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3597, allocations: 29.27 kB / 0.5637 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.3603, allocations: 58.45 kB / 0.5638 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3604, allocations: 83.47 kB / 0.5639 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.3605, allocations: 31.73 kB / 0.5639 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006361/0.3611, allocations: 0.5641 MB / 0.5645 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 0 / 0.5645 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008651/0.362, allocations: 290.8 kB / 0.5647 GB, free: 12.62 MB / 414.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 (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.0002028/0.3622, allocations: 166.7 kB / 0.5649 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.3638, allocations: 1.05 MB / 0.5659 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3639, allocations: 1.406 kB / 0.5659 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.3646, allocations: 0.6017 MB / 0.5665 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.3653, allocations: 117.4 kB / 0.5666 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3678, allocations: 1.882 MB / 0.5685 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3683, allocations: 0.9955 MB / 0.5694 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.3686, allocations: 90.2 kB / 0.5695 GB, free: 9.664 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3686, allocations: 3.938 kB / 0.5695 GB, free: 9.66 MB / 414.1 MB Notification: Performance of Templates: time 0.02168/0.3903, allocations: 20.48 MB / 0.5895 GB, free: 14.53 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.823987256968394]