Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.002101/0.002101, allocations: 119.9 kB / 20.44 MB, free: 1.297 MB / 14.72 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.002866/0.002866, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2641/0.2641, allocations: 46.93 MB / 360.8 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3822, allocations: 66.04 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02837/0.4105, allocations: 22.86 MB / 0.5835 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.4268, allocations: 5.549 MB / 0.5889 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007264/0.4341, allocations: 230.8 kB / 0.5891 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02504/0.4591, allocations: 9.597 MB / 0.5985 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009517/0.4686, allocations: 2.214 MB / 0.6006 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.4751, allocations: 1.926 MB / 0.6025 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02375/0.4988, allocations: 14.55 MB / 0.6167 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04753/0.5463, allocations: 21.29 MB / 0.6375 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.5632, allocations: 8.16 MB / 0.6455 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01914/0.5823, allocations: 8.799 MB / 0.6541 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00931/0.5916, allocations: 2.098 MB / 0.6561 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.6024, allocations: 2.359 MB / 0.6584 GB, free: 324 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01079/0.6132, allocations: 4.333 MB / 0.6627 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01977/0.6329, allocations: 8.428 MB / 0.6709 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04158/0.6745, allocations: 28.78 MB / 0.699 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6745, allocations: 8 kB / 0.699 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6745, allocations: 0 / 0.699 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008923/0.6754, allocations: 0 / 0.699 GB, free: 6.637 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.0666/0.742, allocations: 18.93 MB / 0.7175 GB, free: 3.598 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.7421, allocations: 12.03 kB / 0.7175 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06538/0.8074, allocations: 11.48 MB / 0.7287 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5935/1.401, allocations: 9.039 MB / 0.7375 GB, free: 92.95 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001447/1.402, allocations: 1.062 MB / 0.7386 GB, free: 92.92 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005915/1.408, allocations: 1.368 MB / 0.7399 GB, free: 92.92 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0554/1.464, allocations: 23.63 MB / 0.763 GB, free: 88.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003946/1.464, allocations: 21.81 kB / 0.763 GB, free: 88.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003249/1.467, allocations: 0.5715 MB / 0.7636 GB, free: 88.36 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004672/1.468, allocations: 0.704 MB / 0.7643 GB, free: 88.29 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04487/1.513, allocations: 21.75 MB / 0.7855 GB, free: 72.58 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.627, allocations: 69.74 MB / 0.8536 GB, free: 3.387 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.646, allocations: 11.39 MB / 0.8647 GB, free: 9.449 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009025/1.655, allocations: 4.512 MB / 0.8691 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03514/1.69, allocations: 15.29 MB / 0.8841 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.69, allocations: 90.11 kB / 0.8841 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 9.818e-06/1.69, allocations: 3.984 kB / 0.8841 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.04359/1.734, allocations: 15.43 MB / 0.8992 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002295/1.734, allocations: 128.6 kB / 0.8993 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.745, allocations: 5.11 MB / 0.9043 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00151/1.747, allocations: 105.7 kB / 0.9044 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.007392/1.754, allocations: 6.097 MB / 0.9104 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003421/1.757, allocations: 1.67 MB / 0.912 GB, free: 9.973 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003335/1.761, allocations: 1.555 MB / 0.9135 GB, free: 8.41 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.761, allocations: 304.9 kB / 0.9138 GB, free: 8.113 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007557/1.768, allocations: 4.152 MB / 0.9179 GB, free: 3.957 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/1.781, allocations: 7.268 MB / 0.925 GB, free: 11.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02127/1.802, allocations: 11.95 MB / 0.9367 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000217/1.802, allocations: 31.38 kB / 0.9367 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03289/1.835, allocations: 13.08 MB / 0.9495 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.835, allocations: 48 kB / 0.9495 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002768/1.835, allocations: 104 kB / 0.9496 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008095/1.843, allocations: 3.096 MB / 0.9526 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00722/1.851, allocations: 1.594 MB / 0.9542 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/1.852, allocations: 341.1 kB / 0.9545 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00789/1.86, allocations: 1.075 MB / 0.9556 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002111/1.862, allocations: 384 kB / 0.9559 GB, free: 11.33 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01575/1.878, allocations: 5.396 MB / 0.9612 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/1.879, allocations: 0.52 MB / 0.9617 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02038/1.9, allocations: 9.55 MB / 0.971 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/1.9, allocations: 48 kB / 0.9711 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.9, allocations: 4 kB / 0.9711 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-05/1.9, allocations: 23.91 kB / 0.9711 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0518/1.952, allocations: 20.87 MB / 0.9915 GB, free: 7.07 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.952, allocations: 0 / 0.9915 GB, free: 7.07 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.955, allocations: 0.7438 MB / 0.9922 GB, free: 6.359 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007462/1.963, allocations: 2.969 MB / 0.9951 GB, free: 3.375 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009537/1.964, allocations: 104 kB / 0.9952 GB, free: 3.273 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006534/1.964, allocations: 150.4 kB / 0.9953 GB, free: 3.117 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.964, allocations: 0 / 0.9953 GB, free: 3.117 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.404/2.368, allocations: 14.19 MB / 1.009 GB, free: 249.9 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/2.373, allocations: 1.368 MB / 1.011 GB, free: 249.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/2.374, allocations: 79.84 kB / 1.011 GB, free: 249.5 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/2.378, allocations: 362.1 kB / 1.011 GB, free: 249.5 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006933/2.378, allocations: 346 kB / 1.011 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/2.379, allocations: 129.2 kB / 1.011 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.004804/2.383, allocations: 3.422 MB / 1.015 GB, free: 248.2 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.8e-07/2.383, allocations: 3.906 kB / 1.015 GB, free: 248.2 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.008657/2.392, allocations: 3.237 MB / 1.018 GB, free: 247.6 MB / 0.7013 GB 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.001086/2.393, allocations: 256.9 kB / 1.018 GB, free: 247.5 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.01688/2.41, allocations: 9.508 MB / 1.027 GB, free: 244.4 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/2.41, allocations: 0 / 1.027 GB, free: 244.4 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.007943/2.418, allocations: 4.12 MB / 1.031 GB, free: 243 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006312/2.424, allocations: 1.266 MB / 1.033 GB, free: 242.6 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/2.468, allocations: 24.55 MB / 1.057 GB, free: 225.2 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/2.482, allocations: 9.01 MB / 1.065 GB, free: 218.1 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.006708/2.489, allocations: 2.869 MB / 1.068 GB, free: 215.2 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/2.49, allocations: 403.3 kB / 1.069 GB, free: 214.8 MB / 0.7013 GB Notification: Performance of SimCode: time 1.563e-06/2.49, allocations: 0 / 1.069 GB, free: 214.8 MB / 0.7013 GB Notification: Performance of Templates: time 0.1356/2.626, allocations: 98.77 MB / 1.165 GB, free: 116.7 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.968734330963343]