Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.0008141/0.0008141, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002396, 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.001076/0.001076, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.002895, 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 1.022/1.022, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1857/1.208, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.1314/0.1314, allocations: 32.36 MB / 253.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02408/0.1555, allocations: 12.29 MB / 265.9 MB, free: 7.816 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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.832e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02362/0.02365, allocations: 21.48 MB / 288.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.03949, allocations: 5.908 MB / 294.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004972/0.04446, allocations: 194.9 kB / 294.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.05621, allocations: 10.15 MB / 304.9 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008744/0.06496, allocations: 2.31 MB / 307.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.06971, allocations: 1.886 MB / 309.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01513/0.08483, allocations: 15.33 MB / 324.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3223/0.4072, allocations: 21.3 MB / 345.8 MB, free: 6.305 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02423/0.4314, allocations: 12.48 MB / 358.3 MB, free: 6.227 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.4457, allocations: 8.982 MB / 367.2 MB, free: 6.223 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00644/0.4521, allocations: 2.113 MB / 369.3 MB, free: 6.223 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009845/0.4619, allocations: 2.362 MB / 371.7 MB, free: 6.176 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009952/0.4719, allocations: 3.546 MB / 375.3 MB, free: 4.457 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01902/0.4909, allocations: 4.782 MB / 380 MB, free: 168 kB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02945/0.5204, allocations: 13.99 MB / 394 MB, free: 4.219 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.056e-05/0.5204, allocations: 0 / 394 MB, free: 4.219 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5204, allocations: 0.6562 kB / 394 MB, free: 4.219 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0008486/0.5212, allocations: 0 / 394 MB, free: 4.219 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04186/0.5631, allocations: 21.54 MB / 415.6 MB, free: 15.7 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5631, allocations: 8.031 kB / 415.6 MB, free: 15.69 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03385/0.597, allocations: 11.31 MB / 426.9 MB, free: 4.777 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.6076, allocations: 3.629 MB / 430.5 MB, free: 1.473 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000795/0.6084, allocations: 1.063 MB / 431.6 MB, free: 428 kB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003913/0.6123, allocations: 1.411 MB / 433 MB, free: 15.03 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/0.6452, allocations: 12.14 MB / 445.1 MB, free: 3.355 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004799/0.6457, allocations: 18.88 kB / 445.2 MB, free: 3.344 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00463/0.6503, allocations: 0.5847 MB / 445.7 MB, free: 2.773 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000662/0.651, allocations: 0.7296 MB / 446.5 MB, free: 2.043 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02042/0.6714, allocations: 6.134 MB / 452.6 MB, free: 11.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08766/0.7591, allocations: 42.37 MB / 495 MB, free: 2.996 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007938/0.767, allocations: 5.991 MB / 0.4892 GB, free: 13.05 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.7692, allocations: 1.306 MB / 0.4905 GB, free: 11.78 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.7816, allocations: 6.382 MB / 0.4967 GB, free: 5.625 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.7817, allocations: 86.11 kB / 0.4968 GB, free: 5.531 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 6.172e-06/0.7817, allocations: 0 / 0.4968 GB, free: 5.531 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.2223/1.004, allocations: 6.546 MB / 0.5032 GB, free: 117 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.004, allocations: 123.8 kB / 0.5033 GB, free: 116.9 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/1.008, allocations: 3.348 MB / 0.5066 GB, free: 116.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006523/1.008, allocations: 98.64 kB / 0.5067 GB, free: 116.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.011, allocations: 5.789 MB / 0.5123 GB, free: 113.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001317/1.012, allocations: 1.653 MB / 0.514 GB, free: 112.7 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/1.014, allocations: 1.445 MB / 0.5154 GB, free: 112.6 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 2.964e-05/1.014, allocations: 305.1 kB / 0.5157 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/1.016, allocations: 1.147 MB / 0.5168 GB, free: 112.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/1.018, allocations: 4.16 MB / 0.5208 GB, free: 108.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/1.023, allocations: 6.016 MB / 0.5267 GB, free: 104 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.251e-05/1.023, allocations: 32.81 kB / 0.5267 GB, free: 104 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.008229/1.032, allocations: 5.255 MB / 0.5319 GB, free: 103.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/1.032, allocations: 52.19 kB / 0.5319 GB, free: 103.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.032, allocations: 113.3 kB / 0.532 GB, free: 103.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/1.035, allocations: 1.483 MB / 0.5335 GB, free: 103.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004101/1.039, allocations: 1.689 MB / 0.5351 GB, free: 103.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/1.04, allocations: 314.6 kB / 0.5354 GB, free: 103.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/1.044, allocations: 0.8761 MB / 0.5363 GB, free: 103.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.045, allocations: 326.8 kB / 0.5366 GB, free: 103.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.003319/1.049, allocations: 0.6514 MB / 0.5372 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007911/1.049, allocations: 435.6 kB / 0.5377 GB, free: 102.9 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/1.053, allocations: 3.289 MB / 0.5409 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/1.053, allocations: 43.09 kB / 0.5409 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.053, allocations: 7.891 kB / 0.5409 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.053, allocations: 23.25 kB / 0.5409 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.064, allocations: 6.639 MB / 0.5474 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/1.064, allocations: 0 / 0.5474 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.066, allocations: 0.6625 MB / 0.5481 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.067, allocations: 0.7217 MB / 0.5488 GB, free: 101.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/1.069, allocations: 1.349 MB / 0.5501 GB, free: 101.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/1.069, allocations: 84.58 kB / 0.5502 GB, free: 101.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002268/1.07, allocations: 123.3 kB / 0.5503 GB, free: 101.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.07, allocations: 3.875 kB / 0.5503 GB, free: 101.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/1.074, allocations: 3.766 MB / 0.554 GB, free: 101.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009233/1.075, allocations: 79.98 kB / 0.554 GB, free: 101 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.076, allocations: 157.9 kB / 0.5542 GB, free: 101 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.077, allocations: 291.7 kB / 0.5545 GB, free: 101 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.077, allocations: 93.69 kB / 0.5546 GB, free: 101 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001678/1.078, allocations: 1.487 MB / 0.556 GB, free: 100.9 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.078, allocations: 3.875 kB / 0.556 GB, free: 100.9 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006436/1.085, allocations: 3.296 MB / 0.5592 GB, free: 98.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005665/1.085, allocations: 236 kB / 0.5595 GB, free: 98.47 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005328/1.091, allocations: 3.986 MB / 0.5634 GB, free: 95.47 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002411/1.091, allocations: 150.1 kB / 0.5635 GB, free: 95.31 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.093, allocations: 1.779 MB / 0.5652 GB, free: 93.93 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.097, allocations: 1.743 MB / 0.5669 GB, free: 92.77 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07762/1.174, allocations: 21.78 MB / 0.5882 GB, free: 74.56 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005744/1.18, allocations: 2.858 MB / 0.591 GB, free: 72.62 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003028/1.183, allocations: 0.8007 MB / 0.5918 GB, free: 72 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/1.185, allocations: 1.117 MB / 0.5929 GB, free: 71 MB / 458.8 MB Notification: Performance of SimCode: time 3.046e-06/1.185, allocations: 0 / 0.5929 GB, free: 71 MB / 458.8 MB Notification: Performance of Templates: time 0.2754/1.461, allocations: 92.34 MB / 0.683 GB, free: 132.8 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.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: 5.990743196569383]