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.00143/0.00143, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001862/0.001862, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 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.9673/0.9673, allocations: 158.6 MB / 185.7 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.1498/0.1498, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 2.425e-06/2.425e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.574e-05/4.816e-05, allocations: 8.219 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01782/0.01787, allocations: 22.02 MB / 369.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.03185, allocations: 5.537 MB / 375.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006467/0.03832, allocations: 198.9 kB / 375.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01565/0.05396, allocations: 10.15 MB / 385.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.06583, allocations: 2.337 MB / 387.9 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.07213, allocations: 1.891 MB / 389.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0194/0.09154, allocations: 15.22 MB / 405 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03985/0.1314, allocations: 21.24 MB / 426.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3722/0.5035, allocations: 12.14 MB / 438.4 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01537/0.5189, allocations: 8.904 MB / 447.3 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008471/0.5274, allocations: 2.109 MB / 449.4 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.5389, allocations: 2.341 MB / 451.8 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009725/0.5486, allocations: 4.563 MB / 456.3 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01774/0.5663, allocations: 5.812 MB / 462.1 MB, free: 36.14 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04732/0.6137, allocations: 14.66 MB / 476.8 MB, free: 30.77 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6137, allocations: 2.938 kB / 476.8 MB, free: 30.77 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6137, allocations: 0 / 476.8 MB, free: 30.77 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0008294/0.6145, allocations: 0 / 476.8 MB, free: 30.77 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.04648/0.661, allocations: 20.47 MB / 497.3 MB, free: 13.81 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.661, allocations: 12.03 kB / 497.3 MB, free: 13.8 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04091/0.702, allocations: 15.23 MB / 0.5005 GB, free: 14.71 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/0.7173, allocations: 7.069 MB / 0.5074 GB, free: 8.016 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001233/0.7185, allocations: 1.077 MB / 0.5085 GB, free: 6.949 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006595/0.7251, allocations: 1.395 MB / 0.5098 GB, free: 5.566 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04986/0.7749, allocations: 12.98 MB / 0.5225 GB, free: 8.441 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006817/0.7756, allocations: 15.94 kB / 0.5225 GB, free: 8.426 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005264/0.7809, allocations: 0.5796 MB / 0.5231 GB, free: 7.859 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006421/0.7815, allocations: 0.7335 MB / 0.5238 GB, free: 7.125 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.8098, allocations: 7.027 MB / 0.5306 GB, free: 100 kB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/0.9216, allocations: 56.48 MB / 0.5858 GB, free: 7.66 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.9335, allocations: 9.179 MB / 0.5948 GB, free: 144 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2018/1.135, allocations: 1.858 MB / 0.5966 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/1.153, allocations: 9.051 MB / 0.6054 GB, free: 108.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/1.153, allocations: 89.59 kB / 0.6055 GB, free: 108.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 6.512e-06/1.153, allocations: 4.406 kB / 0.6055 GB, free: 108.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.01951/1.172, allocations: 8.498 MB / 0.6138 GB, free: 107.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.172, allocations: 126.2 kB / 0.6139 GB, free: 107.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008274/1.181, allocations: 4.94 MB / 0.6188 GB, free: 107.4 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.182, allocations: 99.98 kB / 0.6189 GB, free: 107.3 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004284/1.186, allocations: 6.628 MB / 0.6253 GB, free: 103.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002273/1.188, allocations: 1.739 MB / 0.627 GB, free: 102.7 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002866/1.191, allocations: 1.827 MB / 0.6288 GB, free: 102.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/1.191, allocations: 482.3 kB / 0.6293 GB, free: 102.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/1.194, allocations: 1.2 MB / 0.6304 GB, free: 102 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/1.198, allocations: 6.27 MB / 0.6366 GB, free: 95.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008161/1.206, allocations: 8.138 MB / 0.6445 GB, free: 89.69 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.206, allocations: 31.06 kB / 0.6445 GB, free: 89.69 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01164/1.218, allocations: 7.117 MB / 0.6515 GB, free: 89.14 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/1.218, allocations: 52.5 kB / 0.6515 GB, free: 89.14 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.218, allocations: 111.7 kB / 0.6516 GB, free: 89.14 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/1.221, allocations: 1.662 MB / 0.6533 GB, free: 89.02 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/1.225, allocations: 1.651 MB / 0.6549 GB, free: 89.02 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005689/1.226, allocations: 350.6 kB / 0.6552 GB, free: 88.99 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/1.232, allocations: 1.094 MB / 0.6563 GB, free: 88.51 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.234, allocations: 397.4 kB / 0.6567 GB, free: 88.51 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.005116/1.239, allocations: 0.6987 MB / 0.6573 GB, free: 88.27 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.241, allocations: 0.659 MB / 0.658 GB, free: 87.98 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/1.247, allocations: 4.52 MB / 0.6624 GB, free: 86.64 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/1.247, allocations: 48 kB / 0.6624 GB, free: 86.59 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.247, allocations: 3.562 kB / 0.6625 GB, free: 86.59 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/1.247, allocations: 27.53 kB / 0.6625 GB, free: 86.59 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.275, allocations: 14.21 MB / 0.6764 GB, free: 74.14 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.275, allocations: 5.656 kB / 0.6764 GB, free: 74.14 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.277, allocations: 0.7204 MB / 0.6771 GB, free: 73.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002708/1.28, allocations: 1.52 MB / 0.6785 GB, free: 72.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/1.28, allocations: 98.17 kB / 0.6786 GB, free: 72.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002823/1.28, allocations: 165.2 kB / 0.6788 GB, free: 72.16 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.28, allocations: 0 / 0.6788 GB, free: 72.16 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007591/1.288, allocations: 5.447 MB / 0.6841 GB, free: 67.13 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/1.291, allocations: 1.175 MB / 0.6853 GB, free: 66.09 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008113/1.291, allocations: 80 kB / 0.6853 GB, free: 66.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.293, allocations: 362 kB / 0.6857 GB, free: 65.77 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/1.294, allocations: 346.5 kB / 0.686 GB, free: 65.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.294, allocations: 123.8 kB / 0.6861 GB, free: 65.48 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003136/1.297, allocations: 2.123 MB / 0.6882 GB, free: 63.72 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.297, allocations: 0 / 0.6882 GB, free: 63.72 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008086/1.305, allocations: 3.3 MB / 0.6914 GB, free: 60.41 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.0009015/1.306, allocations: 261 kB / 0.6917 GB, free: 60.19 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009188/1.315, allocations: 5.168 MB / 0.6967 GB, free: 55.98 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.315, allocations: 4.062 kB / 0.6967 GB, free: 55.97 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.319, allocations: 2.276 MB / 0.699 GB, free: 53.77 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.323, allocations: 1.343 MB / 0.7003 GB, free: 52.47 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/1.355, allocations: 20.57 MB / 0.7204 GB, free: 31.82 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006623/1.362, allocations: 3.896 MB / 0.7242 GB, free: 27.89 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005021/1.367, allocations: 2.475 MB / 0.7266 GB, free: 25.41 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.368, allocations: 384.4 kB / 0.7269 GB, free: 25.03 MB / 458.8 MB Notification: Performance of SimCode: time 3.546e-06/1.368, allocations: 0 / 0.7269 GB, free: 25.03 MB / 458.8 MB Notification: Performance of Templates: time 0.2716/1.64, allocations: 85.91 MB / 0.8108 GB, free: 114.9 MB / 474.8 MB " [Timeout remaining time 658] 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.699613194912672]