Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001205/0.001205, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002116/0.003321, allocations: 452 kB / 10.43 MB, free: 264 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.001415/0.001415, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001719/0.003134, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9885/0.9885, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1658/1.154, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.1368/0.1368, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02266/0.1595, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.301e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008625/0.008648, allocations: 7.421 MB / 274.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.01448, allocations: 2.426 MB / 277.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.01568, allocations: 31.94 kB / 277.3 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.01795, allocations: 1.936 MB / 279.2 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.01962, allocations: 0.7298 MB / 279.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.02114, allocations: 1.036 MB / 281 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.02302, allocations: 1.494 MB / 282.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.0245, allocations: 0.8953 MB / 283.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.02572, allocations: 0.9189 MB / 284.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009114/0.02663, allocations: 0.5882 MB / 284.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.02692, allocations: 116 kB / 285 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009251/0.02785, allocations: 331.5 kB / 285.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.02799, allocations: 215.2 kB / 285.5 MB, free: 332 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1354/0.1633, allocations: 370.5 kB / 285.9 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.1661, allocations: 1.127 MB / 287 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.965e-05/0.1661, allocations: 0 / 287 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1661, allocations: 0 / 287 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.174e-05/0.1661, allocations: 0 / 287 MB, free: 4.488 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005218/0.1714, allocations: 2.882 MB / 289.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1714, allocations: 9.75 kB / 289.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006121/0.1775, allocations: 2.042 MB / 291.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1788, allocations: 381.4 kB / 292.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.1789, allocations: 104.7 kB / 292.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.1791, allocations: 137.7 kB / 292.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.1811, allocations: 1.184 MB / 293.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.1811, allocations: 13.31 kB / 293.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.281e-05/0.1812, allocations: 55 kB / 293.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.1813, allocations: 42.47 kB / 293.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.1824, allocations: 0.6531 MB / 294.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.188, allocations: 3.5 MB / 298 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.1889, allocations: 0.8728 MB / 298.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.1892, allocations: 281 kB / 299.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.1893, allocations: 39.62 kB / 299.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1894, allocations: 48.53 kB / 299.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 3.948e-06/0.1894, allocations: 1.219 kB / 299.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=129): time 0.003715/0.1931, allocations: 2.105 MB / 301.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1931, allocations: 91.92 kB / 301.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1934, allocations: 415.1 kB / 301.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.1934, allocations: 46.17 kB / 301.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1935, allocations: 475.1 kB / 302.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.1937, allocations: 449.5 kB / 302.8 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1939, allocations: 227.8 kB / 303 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.194, allocations: 387.3 kB / 303.4 MB, free: 308 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1942, allocations: 174.4 kB / 303.5 MB, free: 304 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.1945, allocations: 462.7 kB / 304 MB, free: 15.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.1951, allocations: 0.7757 MB / 304.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1951, allocations: 0 / 304.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0009452/0.196, allocations: 0.8924 MB / 305.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.196, allocations: 10.72 kB / 305.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.196, allocations: 10.88 kB / 305.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007024/0.1967, allocations: 396.4 kB / 306.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.1972, allocations: 248.8 kB / 306.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/0.1973, allocations: 55.84 kB / 306.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.1978, allocations: 125.4 kB / 306.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.1978, allocations: 45.98 kB / 306.5 MB, free: 14.85 MB / 298.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: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.198, allocations: 179.7 kB / 306.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1982, allocations: 98.23 kB / 306.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.1991, allocations: 0.8452 MB / 307.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.1991, allocations: 16 kB / 307.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1991, allocations: 0 / 307.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1991, allocations: 11.91 kB / 307.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.2009, allocations: 1.476 MB / 309.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2009, allocations: 0 / 309.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.2012, allocations: 170.9 kB / 309.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2015, allocations: 111.2 kB / 309.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.2021, allocations: 380.8 kB / 309.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/0.2022, allocations: 28 kB / 309.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.081e-05/0.2022, allocations: 21.3 kB / 309.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2022, allocations: 7.469 kB / 309.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2034, allocations: 1.189 MB / 311.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.2035, allocations: 27.94 kB / 311.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2037, allocations: 48 kB / 311.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2039, allocations: 85.09 kB / 311.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.2039, allocations: 24 kB / 311.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.204, allocations: 159 kB / 311.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.204, allocations: 0 / 311.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007467/0.2048, allocations: 355.2 kB / 311.7 MB, free: 9.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002525/0.205, allocations: 145 kB / 311.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.2061, allocations: 0.8047 MB / 312.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.441e-05/0.2061, allocations: 26.14 kB / 312.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.2069, allocations: 0.5182 MB / 313.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.2076, allocations: 0.7686 MB / 314 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/0.2169, allocations: 1.959 MB / 316 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.217, allocations: 207.3 kB / 316.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000539/0.2176, allocations: 110.8 kB / 316.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.2178, allocations: 171.3 kB / 316.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2178, allocations: 0 / 316.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of Templates: time 0.01755/0.2354, allocations: 13.19 MB / 329.6 MB, free: 8.184 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3150486508384347]