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.0009253/0.0009253, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001572/0.001572, allocations: 163.6 kB / 24.84 MB, free: 9.262 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.9676/0.9676, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1509/0.1509, allocations: 32.38 MB / 271.5 MB, free: 14.62 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.713e-06/1.713e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.317e-05, allocations: 8.219 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01366/0.01368, allocations: 21.29 MB / 370.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.02664, allocations: 5.514 MB / 375.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004602/0.03125, allocations: 198.9 kB / 375.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.04359, allocations: 9.885 MB / 385.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008347/0.05194, allocations: 2.337 MB / 388.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.05648, allocations: 1.867 MB / 390 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01562/0.07209, allocations: 15.22 MB / 405.2 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03903/0.1111, allocations: 21.24 MB / 426.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3214/0.4325, allocations: 12.15 MB / 438.6 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01442/0.4469, allocations: 8.928 MB / 447.5 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00849/0.4554, allocations: 2.11 MB / 449.6 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.4655, allocations: 2.342 MB / 452 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008484/0.474, allocations: 4.566 MB / 456.6 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01692/0.4909, allocations: 5.806 MB / 462.4 MB, free: 36.3 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.5106, allocations: 14.66 MB / 477 MB, free: 31.28 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5106, allocations: 0 / 477 MB, free: 31.28 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5106, allocations: 0 / 477 MB, free: 31.28 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0008081/0.5114, allocations: 0 / 477 MB, free: 31.28 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.03873/0.5502, allocations: 19.68 MB / 496.7 MB, free: 15.56 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5502, allocations: 8.031 kB / 496.7 MB, free: 15.55 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03384/0.584, allocations: 10.55 MB / 0.4954 GB, free: 5.148 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.5964, allocations: 6.399 MB / 0.5016 GB, free: 15.14 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008963/0.5973, allocations: 1.068 MB / 0.5027 GB, free: 14.08 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005944/0.6032, allocations: 1.402 MB / 0.504 GB, free: 12.69 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03903/0.6423, allocations: 11.88 MB / 0.5156 GB, free: 1.266 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004904/0.6427, allocations: 22.64 kB / 0.5157 GB, free: 1.25 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/0.647, allocations: 0.5797 MB / 0.5162 GB, free: 0.6836 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.6476, allocations: 0.7296 MB / 0.5169 GB, free: 15.95 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.6678, allocations: 5.454 MB / 0.5223 GB, free: 10.49 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/0.7765, allocations: 55.19 MB / 0.5762 GB, free: 5.027 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/0.7862, allocations: 8.116 MB / 0.5841 GB, free: 14.66 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.7891, allocations: 1.564 MB / 0.5856 GB, free: 13.13 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.8053, allocations: 8.308 MB / 0.5937 GB, free: 5.125 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/0.8054, allocations: 84.94 kB / 0.5938 GB, free: 5.031 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 8.767e-06/0.8054, allocations: 0 / 0.5938 GB, free: 5.031 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.2077/1.013, allocations: 7.578 MB / 0.6012 GB, free: 112.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.013, allocations: 128.2 kB / 0.6013 GB, free: 112.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007481/1.021, allocations: 4.875 MB / 0.6061 GB, free: 111.9 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.022, allocations: 100.7 kB / 0.6062 GB, free: 111.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004323/1.026, allocations: 6.654 MB / 0.6127 GB, free: 108.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.028, allocations: 1.75 MB / 0.6144 GB, free: 107.6 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/1.031, allocations: 1.849 MB / 0.6162 GB, free: 107.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/1.031, allocations: 480.7 kB / 0.6167 GB, free: 107 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/1.033, allocations: 0.9131 MB / 0.6175 GB, free: 107 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/1.036, allocations: 6.034 MB / 0.6234 GB, free: 100.9 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006082/1.042, allocations: 7.699 MB / 0.631 GB, free: 94.71 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/1.043, allocations: 38.12 kB / 0.631 GB, free: 94.71 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01005/1.053, allocations: 6.435 MB / 0.6373 GB, free: 94.17 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.053, allocations: 55.81 kB / 0.6373 GB, free: 94.17 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/1.053, allocations: 112.7 kB / 0.6374 GB, free: 94.17 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/1.056, allocations: 1.611 MB / 0.639 GB, free: 94.05 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.059, allocations: 1.508 MB / 0.6405 GB, free: 94.05 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004345/1.059, allocations: 341.9 kB / 0.6408 GB, free: 94.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.064, allocations: 0.8864 MB / 0.6417 GB, free: 93.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009673/1.065, allocations: 338.3 kB / 0.642 GB, free: 93.53 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.004814/1.07, allocations: 0.6878 MB / 0.6427 GB, free: 93.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.071, allocations: 0.657 MB / 0.6433 GB, free: 93.01 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/1.077, allocations: 4.008 MB / 0.6472 GB, free: 92.68 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.077, allocations: 45.5 kB / 0.6473 GB, free: 92.68 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.077, allocations: 0 / 0.6473 GB, free: 92.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/1.077, allocations: 30.19 kB / 0.6473 GB, free: 92.67 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.096, allocations: 10.37 MB / 0.6574 GB, free: 91.95 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/1.096, allocations: 3.781 kB / 0.6574 GB, free: 91.95 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/1.097, allocations: 0.5801 MB / 0.658 GB, free: 91.95 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/1.1, allocations: 1.464 MB / 0.6594 GB, free: 91.79 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/1.1, allocations: 96.25 kB / 0.6595 GB, free: 91.79 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002927/1.101, allocations: 154.6 kB / 0.6597 GB, free: 91.75 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.101, allocations: 4 kB / 0.6597 GB, free: 91.74 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/1.107, allocations: 4.722 MB / 0.6643 GB, free: 89.72 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/1.11, allocations: 1.054 MB / 0.6653 GB, free: 89.09 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009235/1.111, allocations: 75.94 kB / 0.6654 GB, free: 89.08 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.112, allocations: 155.1 kB / 0.6655 GB, free: 89 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/1.113, allocations: 307.1 kB / 0.6658 GB, free: 88.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002034/1.113, allocations: 101.4 kB / 0.6659 GB, free: 88.84 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002584/1.116, allocations: 1.965 MB / 0.6678 GB, free: 87.67 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.31e-07/1.116, allocations: 0 / 0.6678 GB, free: 87.67 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00944/1.125, allocations: 3.298 MB / 0.6711 GB, free: 84.54 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.001049/1.126, allocations: 258 kB / 0.6713 GB, free: 84.32 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007954/1.134, allocations: 4.629 MB / 0.6758 GB, free: 80.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.134, allocations: 4 kB / 0.6758 GB, free: 80.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.137, allocations: 2.028 MB / 0.6778 GB, free: 79.06 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/1.141, allocations: 1.346 MB / 0.6791 GB, free: 77.96 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03525/1.177, allocations: 20.38 MB / 0.699 GB, free: 59.52 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006475/1.183, allocations: 3.899 MB / 0.7028 GB, free: 55.95 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002848/1.186, allocations: 0.7943 MB / 0.7036 GB, free: 55.15 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/1.188, allocations: 1.255 MB / 0.7048 GB, free: 53.89 MB / 458.8 MB Notification: Performance of SimCode: time 1.944e-06/1.188, allocations: 0 / 0.7048 GB, free: 53.89 MB / 458.8 MB Notification: Performance of Templates: time 0.3204/1.508, allocations: 89.9 MB / 0.7926 GB, free: 129.8 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.644363473635167]