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/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.001277/0.001277, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001209/0.001209, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9367/0.9367, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.096e-05, allocations: 3.891 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01244/0.01246, allocations: 6.624 MB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.01909, allocations: 2.263 MB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003367/0.02246, allocations: 23.94 kB / 332.1 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.02462, allocations: 1.625 MB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.02901, allocations: 0.6872 MB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.03007, allocations: 0.703 MB / 335.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000977/0.03105, allocations: 1.194 MB / 336.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.03496, allocations: 0.8037 MB / 337.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009324/0.03589, allocations: 0.6859 MB / 337.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.03638, allocations: 482.6 kB / 338.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.03649, allocations: 96 kB / 338.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.03698, allocations: 275.6 kB / 338.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.03714, allocations: 254.9 kB / 338.9 MB, free: 9.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.03941, allocations: 390.9 kB / 339.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008353/0.04025, allocations: 1.015 MB / 340.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.04025, allocations: 0 / 340.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04025, allocations: 0 / 340.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.04026, allocations: 0 / 340.3 MB, free: 8.539 MB / 314.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.002086/0.04234, allocations: 1.69 MB / 342 MB, free: 6.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.04237, allocations: 12.03 kB / 342 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.04691, allocations: 1.749 MB / 343.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.0474, allocations: 335.7 kB / 344.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.04745, allocations: 86.78 kB / 344.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.04757, allocations: 128.1 kB / 344.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.04865, allocations: 0.9304 MB / 345.2 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.04867, allocations: 7.891 kB / 345.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.04873, allocations: 52 kB / 345.3 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.04875, allocations: 28 kB / 345.3 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.04936, allocations: 0.5645 MB / 345.9 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.05261, allocations: 2.697 MB / 348.6 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.0533, allocations: 0.5462 MB / 349.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.05346, allocations: 158.3 kB / 349.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.05354, allocations: 36.97 kB / 349.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.05357, allocations: 39.56 kB / 349.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 3.847e-06/0.05357, allocations: 3.984 kB / 349.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.0006942/0.05427, allocations: 495.9 kB / 349.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.05429, allocations: 64.41 kB / 349.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.05453, allocations: 402.9 kB / 350.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.05457, allocations: 41.7 kB / 350.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.05476, allocations: 476.4 kB / 350.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.05491, allocations: 321.2 kB / 351.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.05509, allocations: 186.8 kB / 351.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.0552, allocations: 374.6 kB / 351.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.05535, allocations: 110.6 kB / 351.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.0558, allocations: 355.6 kB / 352.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.05628, allocations: 0.5517 MB / 352.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.05628, allocations: 4 kB / 352.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006309/0.05691, allocations: 0.5669 MB / 353.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.05693, allocations: 8 kB / 353.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.05694, allocations: 8 kB / 353.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.05716, allocations: 78.3 kB / 353.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.05763, allocations: 235.6 kB / 353.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.05875, allocations: 2.36 MB / 355.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.05905, allocations: 95.3 kB / 356 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.05909, allocations: 35.98 kB / 356 MB, free: 8.113 MB / 330.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.0001724/0.05926, allocations: 177.7 kB / 356.2 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.05933, allocations: 71.94 kB / 356.3 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.06, allocations: 0.6915 MB / 357 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.06, allocations: 8 kB / 357 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.06, allocations: 0 / 357 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.06001, allocations: 7.984 kB / 357 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.06131, allocations: 1.213 MB / 358.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.06131, allocations: 8 kB / 358.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.06165, allocations: 175.7 kB / 358.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.0618, allocations: 66.44 kB / 358.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.06183, allocations: 31.92 kB / 358.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.06294, allocations: 2.353 MB / 360.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.06295, allocations: 11.94 kB / 360.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.06365, allocations: 0.8001 MB / 361.7 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.06371, allocations: 63.48 kB / 361.7 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.06377, allocations: 31.89 kB / 361.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.06401, allocations: 47.97 kB / 361.8 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.06409, allocations: 84.44 kB / 361.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.06413, allocations: 31.98 kB / 361.9 MB, free: 1.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.06426, allocations: 172.6 kB / 362.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06426, allocations: 0 / 362.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.06484, allocations: 319.2 kB / 362.4 MB, free: 1.344 MB / 330.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.0001985/0.06504, allocations: 156.2 kB / 362.5 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.06568, allocations: 0.6991 MB / 363.2 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/0.0657, allocations: 16.5 kB / 363.3 MB, free: 456 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.06602, allocations: 477 kB / 363.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.06638, allocations: 93.58 kB / 363.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.06817, allocations: 1.615 MB / 365.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.06829, allocations: 181.7 kB / 365.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.06855, allocations: 121.6 kB / 365.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.06882, allocations: 187.3 kB / 365.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.06882, allocations: 4 kB / 365.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of Templates: time 0.01241/0.08123, allocations: 9.612 MB / 375.5 MB, free: 4.152 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2180585619062185]