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.001247/0.001247, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001221/0.001221, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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.9889/0.9889, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.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.1327/0.1327, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.904e-06/1.904e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.368e-05, allocations: 9.344 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02275/0.02279, allocations: 21.89 MB / 369.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.03712, allocations: 5.533 MB / 375.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.04242, allocations: 194.9 kB / 375.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.05504, allocations: 10.12 MB / 385.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008351/0.06339, allocations: 2.326 MB / 387.7 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.06738, allocations: 1.902 MB / 389.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.08266, allocations: 15.21 MB / 404.8 MB, free: 380 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03078/0.1134, allocations: 21.24 MB / 426.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2917/0.4051, allocations: 12.13 MB / 438.2 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/0.4173, allocations: 8.839 MB / 447 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004376/0.4217, allocations: 2.113 MB / 449.2 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005155/0.4268, allocations: 2.346 MB / 451.5 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003293/0.4301, allocations: 4.57 MB / 456.1 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009896/0.44, allocations: 5.803 MB / 461.9 MB, free: 35.81 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4515, allocations: 14.67 MB / 476.6 MB, free: 30.66 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4515, allocations: 2.688 kB / 476.6 MB, free: 30.66 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4515, allocations: 0 / 476.6 MB, free: 30.66 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0005522/0.4521, allocations: 0 / 476.6 MB, free: 30.66 MB / 362.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.0353/0.4874, allocations: 20.48 MB / 497 MB, free: 14.12 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.4874, allocations: 8.031 kB / 497 MB, free: 14.11 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04434/0.5318, allocations: 15.23 MB / 0.5003 GB, free: 15.02 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/0.5473, allocations: 7.212 MB / 0.5073 GB, free: 8.176 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.5484, allocations: 1.073 MB / 0.5084 GB, free: 7.113 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005155/0.5535, allocations: 1.395 MB / 0.5097 GB, free: 5.73 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.5843, allocations: 12.97 MB / 0.5224 GB, free: 8.609 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.5845, allocations: 23.59 kB / 0.5224 GB, free: 8.59 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.5857, allocations: 0.5865 MB / 0.523 GB, free: 8.02 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004938/0.5862, allocations: 0.7296 MB / 0.5237 GB, free: 7.289 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.6021, allocations: 7.027 MB / 0.5306 GB, free: 264 kB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0684/0.6705, allocations: 56.48 MB / 0.5857 GB, free: 7.828 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009315/0.6798, allocations: 9.182 MB / 0.5947 GB, free: 316 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1763/0.8561, allocations: 1.855 MB / 0.5965 GB, free: 146 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/0.8717, allocations: 9.06 MB / 0.6053 GB, free: 145.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.8718, allocations: 89.3 kB / 0.6054 GB, free: 145.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 7.484e-06/0.8718, allocations: 0 / 0.6054 GB, free: 145.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.01957/0.8913, allocations: 8.502 MB / 0.6137 GB, free: 144.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.8914, allocations: 127.4 kB / 0.6138 GB, free: 144.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006642/0.898, allocations: 4.941 MB / 0.6187 GB, free: 144.2 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006259/0.8987, allocations: 102.1 kB / 0.6188 GB, free: 144.2 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002971/0.9016, allocations: 6.632 MB / 0.6252 GB, free: 140.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001694/0.9033, allocations: 1.739 MB / 0.6269 GB, free: 139.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002176/0.9055, allocations: 1.822 MB / 0.6287 GB, free: 139.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.9056, allocations: 476.8 kB / 0.6292 GB, free: 138.9 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.9079, allocations: 1.199 MB / 0.6303 GB, free: 138.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.912, allocations: 6.269 MB / 0.6365 GB, free: 132.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006629/0.9186, allocations: 8.144 MB / 0.6444 GB, free: 124.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.9187, allocations: 34.12 kB / 0.6445 GB, free: 124.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01098/0.9297, allocations: 7.116 MB / 0.6514 GB, free: 119.5 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.9298, allocations: 52 kB / 0.6515 GB, free: 119.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.9299, allocations: 113.2 kB / 0.6516 GB, free: 119.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.9327, allocations: 1.656 MB / 0.6532 GB, free: 118 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/0.9363, allocations: 1.662 MB / 0.6548 GB, free: 116.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004806/0.9368, allocations: 349.2 kB / 0.6551 GB, free: 116.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/0.942, allocations: 1.096 MB / 0.6562 GB, free: 115.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.9431, allocations: 399.5 kB / 0.6566 GB, free: 114.9 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.004368/0.9475, allocations: 0.6971 MB / 0.6573 GB, free: 114.2 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.9487, allocations: 0.649 MB / 0.6579 GB, free: 113.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/0.9564, allocations: 4.53 MB / 0.6623 GB, free: 109.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.9564, allocations: 44 kB / 0.6624 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.9564, allocations: 7.797 kB / 0.6624 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/0.9565, allocations: 23.83 kB / 0.6624 GB, free: 109.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02585/0.9823, allocations: 14.2 MB / 0.6763 GB, free: 97.18 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9823, allocations: 0 / 0.6763 GB, free: 97.18 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/0.9844, allocations: 0.7238 MB / 0.677 GB, free: 96.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/0.9878, allocations: 1.521 MB / 0.6785 GB, free: 95.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004154/0.9882, allocations: 95.84 kB / 0.6785 GB, free: 95.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.9886, allocations: 161.3 kB / 0.6787 GB, free: 95.16 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9886, allocations: 4 kB / 0.6787 GB, free: 95.16 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00946/0.998, allocations: 5.448 MB / 0.684 GB, free: 90.12 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.001, allocations: 1.178 MB / 0.6852 GB, free: 89.07 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.002, allocations: 84 kB / 0.6853 GB, free: 88.99 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.004, allocations: 361.1 kB / 0.6856 GB, free: 88.73 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006746/1.005, allocations: 343.2 kB / 0.6859 GB, free: 88.39 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/1.005, allocations: 132 kB / 0.686 GB, free: 88.27 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002772/1.008, allocations: 2.117 MB / 0.6881 GB, free: 86.15 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.6e-07/1.008, allocations: 3.938 kB / 0.6881 GB, free: 86.15 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006873/1.015, allocations: 3.3 MB / 0.6913 GB, free: 82.84 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.000674/1.016, allocations: 250.2 kB / 0.6916 GB, free: 82.59 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007712/1.023, allocations: 5.167 MB / 0.6966 GB, free: 77.41 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.023, allocations: 4 kB / 0.6966 GB, free: 77.41 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.027, allocations: 2.283 MB / 0.6989 GB, free: 75.11 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.03, allocations: 1.345 MB / 0.7002 GB, free: 73.8 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.061, allocations: 20.56 MB / 0.7203 GB, free: 53.16 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/1.065, allocations: 3.896 MB / 0.7241 GB, free: 49.23 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004179/1.07, allocations: 2.478 MB / 0.7265 GB, free: 46.74 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/1.071, allocations: 384.4 kB / 0.7268 GB, free: 46.36 MB / 458.8 MB Notification: Performance of SimCode: time 2.184e-06/1.071, allocations: 0 / 0.7268 GB, free: 46.36 MB / 458.8 MB Notification: Performance of Templates: time 0.2393/1.31, allocations: 81.42 MB / 0.8064 GB, free: 137.9 MB / 458.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 -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: 6.311600353103131]