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.001093/0.001093, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002333, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007413/0.0007413, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009456/0.001687, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9463/0.9463, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2042/1.151, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] 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.15/0.15, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02486/0.1749, allocations: 12.3 MB / 265.9 MB, free: 7.828 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.279e-05, allocations: 2.312 kB / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01329/0.01331, allocations: 6.667 MB / 273.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.02388, allocations: 2.24 MB / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.02493, allocations: 23.94 kB / 276.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00557/0.0305, allocations: 1.617 MB / 277.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.03283, allocations: 0.6989 MB / 278.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.03432, allocations: 0.6852 MB / 279.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.03582, allocations: 1.229 MB / 280.4 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009815/0.0368, allocations: 0.7416 MB / 281.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.03772, allocations: 0.7357 MB / 281.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.03825, allocations: 490.6 kB / 282.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.0384, allocations: 96 kB / 282.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.03911, allocations: 283.6 kB / 282.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.03923, allocations: 183.3 kB / 282.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.03953, allocations: 319.4 kB / 283.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.04074, allocations: 0.9454 MB / 284.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.04075, allocations: 0 / 284.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04075, allocations: 0 / 284.1 MB, free: 5.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.04079, allocations: 4 kB / 284.1 MB, free: 5.504 MB / 282.7 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.002849/0.04364, allocations: 2.01 MB / 286.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.04367, allocations: 12.03 kB / 286.2 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.0488, allocations: 1.967 MB / 288.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.04969, allocations: 339.6 kB / 288.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.04975, allocations: 98.42 kB / 288.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.04988, allocations: 120 kB / 288.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/0.05086, allocations: 0.9548 MB / 289.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.0509, allocations: 11.94 kB / 289.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.05096, allocations: 52 kB / 289.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.05098, allocations: 28 kB / 289.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.05166, allocations: 0.5926 MB / 290.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.05547, allocations: 2.759 MB / 293.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.05626, allocations: 0.6318 MB / 293.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.05642, allocations: 151.7 kB / 293.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.591e-05/0.05649, allocations: 40.84 kB / 293.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.05652, allocations: 43.56 kB / 293.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=91): time 4.568e-06/0.05653, allocations: 0 / 293.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=91): time 0.0007257/0.05725, allocations: 492 kB / 294.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.0573, allocations: 64.39 kB / 294.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.05756, allocations: 422.8 kB / 294.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.0576, allocations: 41.7 kB / 294.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.0578, allocations: 0.4924 MB / 295.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.05795, allocations: 317.2 kB / 295.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.05814, allocations: 198.8 kB / 295.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.05824, allocations: 378.6 kB / 296.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.05839, allocations: 118.6 kB / 296.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.05866, allocations: 400.5 kB / 296.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.05921, allocations: 0.588 MB / 297.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.05922, allocations: 4 kB / 297.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0007215/0.05994, allocations: 0.5983 MB / 298 MB, free: 7.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.05997, allocations: 8 kB / 298 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.05998, allocations: 8 kB / 298 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.06022, allocations: 86.27 kB / 298.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.06081, allocations: 299.6 kB / 298.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.06216, allocations: 2.36 MB / 300.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.06262, allocations: 115.2 kB / 300.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.06267, allocations: 39.98 kB / 300.9 MB, free: 4.008 MB / 298.7 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.0002586/0.06293, allocations: 177.5 kB / 301.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/0.06302, allocations: 67.94 kB / 301.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.06372, allocations: 0.6918 MB / 301.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.06373, allocations: 19.94 kB / 301.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.06373, allocations: 0 / 301.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.06374, allocations: 7.969 kB / 301.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.06519, allocations: 1.21 MB / 303.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.0652, allocations: 8 kB / 303.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.06562, allocations: 215.6 kB / 303.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.06571, allocations: 83.31 kB / 303.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.06588, allocations: 69.97 kB / 303.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.06592, allocations: 27.98 kB / 303.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.06704, allocations: 2.352 MB / 305.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.06705, allocations: 11.94 kB / 305.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.06778, allocations: 0.8087 MB / 306.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.06785, allocations: 27.98 kB / 306.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.0681, allocations: 44.02 kB / 306.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.06819, allocations: 84.34 kB / 306.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.06822, allocations: 28 kB / 306.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.06837, allocations: 176.7 kB / 307 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.06837, allocations: 0 / 307 MB, free: 13.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007909/0.06916, allocations: 327.2 kB / 307.3 MB, free: 13.16 MB / 314.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 (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.0002504/0.06941, allocations: 152.1 kB / 307.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.07015, allocations: 0.718 MB / 308.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-05/0.07018, allocations: 19.12 kB / 308.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.0705, allocations: 481 kB / 308.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.0709, allocations: 157.9 kB / 308.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008294/0.07919, allocations: 1.843 MB / 310.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.07935, allocations: 189.9 kB / 310.8 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000435/0.07979, allocations: 125.9 kB / 311 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.08008, allocations: 191.3 kB / 311.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/0.08008, allocations: 0 / 311.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of Templates: time 0.01398/0.09406, allocations: 9.651 MB / 320.8 MB, free: 15.43 MB / 330.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1938854018226266]