Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 216.3 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 46.9 MB / 359.4 MB, free: 4.887 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79.88 kB / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3638, allocations: 65.99 MB / 0.5591 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02679/0.3905, allocations: 22.87 MB / 0.5814 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.4055, allocations: 5.548 MB / 0.5868 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006028/0.4116, allocations: 191.4 kB / 0.587 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02309/0.4347, allocations: 9.557 MB / 0.5964 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.4447, allocations: 2.162 MB / 0.5985 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006044/0.4507, allocations: 1.904 MB / 0.6003 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0207/0.4714, allocations: 14.47 MB / 0.6145 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03671/0.5082, allocations: 20.05 MB / 0.634 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01181/0.52, allocations: 8.007 MB / 0.6419 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0137/0.5337, allocations: 8.795 MB / 0.6504 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00626/0.5399, allocations: 2.098 MB / 0.6525 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.5504, allocations: 2.359 MB / 0.6548 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009062/0.5594, allocations: 4.333 MB / 0.659 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01924/0.5787, allocations: 8.42 MB / 0.6673 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03776/0.6164, allocations: 28.77 MB / 0.6953 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6164, allocations: 0 / 0.6953 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6164, allocations: 4 kB / 0.6954 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006559/0.6171, allocations: 0 / 0.6954 GB, free: 8.945 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.05969/0.6768, allocations: 19.01 MB / 0.7139 GB, free: 5.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.6768, allocations: 8.031 kB / 0.7139 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0602/0.737, allocations: 11.49 MB / 0.7251 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/0.7574, allocations: 8.893 MB / 0.7338 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/0.7589, allocations: 1.063 MB / 0.7349 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7001/1.459, allocations: 1.367 MB / 0.7362 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0745/1.534, allocations: 23.62 MB / 0.7593 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008801/1.534, allocations: 23.86 kB / 0.7593 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007738/1.542, allocations: 0.5785 MB / 0.7599 GB, free: 124 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008225/1.543, allocations: 0.6951 MB / 0.7605 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05149/1.594, allocations: 21.74 MB / 0.7818 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/1.718, allocations: 72.04 MB / 0.8521 GB, free: 30.09 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/1.737, allocations: 28.06 MB / 0.8795 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009419/1.747, allocations: 4.516 MB / 0.8839 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03744/1.784, allocations: 16.56 MB / 0.9001 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/1.784, allocations: 78.11 kB / 0.9002 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 8.847e-06/1.784, allocations: 0 / 0.9002 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.04414/1.828, allocations: 15.68 MB / 0.9155 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.828, allocations: 128.6 kB / 0.9156 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.839, allocations: 5.112 MB / 0.9206 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/1.841, allocations: 101.6 kB / 0.9207 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006208/1.847, allocations: 6.1 MB / 0.9267 GB, free: 15.29 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003096/1.85, allocations: 1.666 MB / 0.9283 GB, free: 13.61 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/1.853, allocations: 1.551 MB / 0.9298 GB, free: 12.05 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.853, allocations: 301.1 kB / 0.9301 GB, free: 11.75 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007761/1.861, allocations: 4.156 MB / 0.9341 GB, free: 7.59 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/1.873, allocations: 7.275 MB / 0.9413 GB, free: 14.87 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/1.893, allocations: 11.95 MB / 0.9529 GB, free: 1.453 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/1.893, allocations: 32 kB / 0.953 GB, free: 1.422 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02927/1.922, allocations: 13.09 MB / 0.9657 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.922, allocations: 48.94 kB / 0.9658 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/1.923, allocations: 107.9 kB / 0.9659 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007042/1.93, allocations: 3.09 MB / 0.9689 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006673/1.936, allocations: 1.599 MB / 0.9705 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/1.937, allocations: 339 kB / 0.9708 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00769/1.945, allocations: 1.075 MB / 0.9718 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/1.947, allocations: 388 kB / 0.9722 GB, free: 13.66 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.01398/1.961, allocations: 5.39 MB / 0.9775 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002832/1.964, allocations: 0.52 MB / 0.978 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02303/1.987, allocations: 9.545 MB / 0.9873 GB, free: 14.15 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/1.987, allocations: 48 kB / 0.9873 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.987, allocations: 0 / 0.9873 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.647e-05/1.987, allocations: 27.84 kB / 0.9874 GB, free: 14.08 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.483/2.47, allocations: 20.74 MB / 1.008 GB, free: 236 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/2.47, allocations: 0 / 1.008 GB, free: 236 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/2.473, allocations: 0.7479 MB / 1.008 GB, free: 235.9 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/2.48, allocations: 2.968 MB / 1.011 GB, free: 235.1 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/2.481, allocations: 102.4 kB / 1.011 GB, free: 235.1 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/2.481, allocations: 149.2 kB / 1.011 GB, free: 235 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.481, allocations: 0 / 1.011 GB, free: 235 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/2.501, allocations: 14.2 MB / 1.025 GB, free: 229.7 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/2.505, allocations: 1.39 MB / 1.027 GB, free: 229.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.506, allocations: 78.48 kB / 1.027 GB, free: 229.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/2.51, allocations: 362.9 kB / 1.027 GB, free: 229.2 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007407/2.51, allocations: 319.1 kB / 1.027 GB, free: 229.2 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/2.511, allocations: 134 kB / 1.028 GB, free: 229.1 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.007422/2.518, allocations: 3.425 MB / 1.031 GB, free: 228 MB / 0.6857 GB Notification: Performance of sort global known variables: time 7e-08/2.518, allocations: 0 / 1.031 GB, free: 228 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01295/2.531, allocations: 3.238 MB / 1.034 GB, free: 227.4 MB / 0.6857 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.00181/2.533, allocations: 259.9 kB / 1.034 GB, free: 227.2 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.01902/2.552, allocations: 9.515 MB / 1.044 GB, free: 224.1 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/2.552, allocations: 7.938 kB / 1.044 GB, free: 224.1 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/2.563, allocations: 4.106 MB / 1.048 GB, free: 220.7 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/2.576, allocations: 1.278 MB / 1.049 GB, free: 219.6 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05497/2.631, allocations: 24.54 MB / 1.073 GB, free: 197.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01917/2.65, allocations: 9.017 MB / 1.082 GB, free: 189 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.006949/2.657, allocations: 2.873 MB / 1.084 GB, free: 186.1 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/2.659, allocations: 399.3 kB / 1.085 GB, free: 185.7 MB / 0.6857 GB Notification: Performance of SimCode: time 1.884e-06/2.659, allocations: 0 / 1.085 GB, free: 185.7 MB / 0.6857 GB Notification: Performance of Templates: time 0.1567/2.815, allocations: 94.98 MB / 1.178 GB, free: 91.27 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.784973047673702]