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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 83.62 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02312/0.1547, allocations: 22.73 MB / 0.4924 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1685, allocations: 5.522 MB / 0.4978 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.1735, allocations: 199.4 kB / 0.4979 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2732/0.4468, allocations: 9.468 MB / 0.5072 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008731/0.4555, allocations: 2.15 MB / 0.5093 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.4614, allocations: 1.9 MB / 0.5112 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02028/0.4817, allocations: 14.47 MB / 0.5253 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05365/0.5354, allocations: 34.28 MB / 0.5588 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01808/0.5535, allocations: 7.987 MB / 0.5666 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01445/0.568, allocations: 8.726 MB / 0.5751 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00557/0.5736, allocations: 2.102 MB / 0.5771 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008611/0.5822, allocations: 2.357 MB / 0.5794 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007029/0.5893, allocations: 4.324 MB / 0.5837 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01579/0.6051, allocations: 8.425 MB / 0.5919 GB, free: 420 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03128/0.6364, allocations: 28.68 MB / 0.6199 GB, free: 4.254 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6365, allocations: 0 / 0.6199 GB, free: 4.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6365, allocations: 0 / 0.6199 GB, free: 4.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000756/0.6372, allocations: 0 / 0.6199 GB, free: 4.254 MB / 462.1 MB 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.06067/0.6979, allocations: 18.7 MB / 0.6382 GB, free: 1.633 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.698, allocations: 8.031 kB / 0.6382 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05898/0.757, allocations: 11.7 MB / 0.6496 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/0.7785, allocations: 8.845 MB / 0.6582 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.7796, allocations: 1.062 MB / 0.6593 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0056/0.7852, allocations: 1.367 MB / 0.6606 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06014/0.8454, allocations: 23.59 MB / 0.6836 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000605/0.846, allocations: 23.8 kB / 0.6836 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005518/0.8515, allocations: 0.5691 MB / 0.6842 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008602/0.8524, allocations: 0.7057 MB / 0.6849 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5711/1.424, allocations: 21.68 MB / 0.7061 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.136/1.56, allocations: 71.82 MB / 0.7762 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/1.578, allocations: 28.66 MB / 0.8042 GB, free: 77.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006995/1.585, allocations: 4.969 MB / 0.809 GB, free: 72.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02344/1.609, allocations: 16.46 MB / 0.8251 GB, free: 56.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.609, allocations: 90.05 kB / 0.8252 GB, free: 56.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.352e-06/1.609, allocations: 0 / 0.8252 GB, free: 56.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03017/1.639, allocations: 15.7 MB / 0.8405 GB, free: 40.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.639, allocations: 128.6 kB / 0.8407 GB, free: 40.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/1.645, allocations: 5.097 MB / 0.8456 GB, free: 34.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004746/1.646, allocations: 101.7 kB / 0.8457 GB, free: 34.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.648, allocations: 5.887 MB / 0.8515 GB, free: 28.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.649, allocations: 1.581 MB / 0.853 GB, free: 27.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/1.651, allocations: 1.535 MB / 0.8545 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/1.651, allocations: 309.1 kB / 0.8548 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004804/1.656, allocations: 4.144 MB / 0.8589 GB, free: 21.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006647/1.663, allocations: 7.27 MB / 0.866 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.675, allocations: 11.92 MB / 0.8776 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/1.675, allocations: 32 kB / 0.8776 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02131/1.697, allocations: 13.1 MB / 0.8904 GB, free: 2.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.697, allocations: 48 kB / 0.8905 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/1.697, allocations: 108.2 kB / 0.8906 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006553/1.704, allocations: 3.09 MB / 0.8936 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/1.709, allocations: 1.591 MB / 0.8952 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007534/1.71, allocations: 339 kB / 0.8955 GB, free: 12.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.717, allocations: 1.053 MB / 0.8965 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.718, allocations: 384 kB / 0.8969 GB, free: 11.51 MB / 0.5607 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.01057/1.728, allocations: 5.396 MB / 0.9021 GB, free: 6.098 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/1.73, allocations: 0.4977 MB / 0.9026 GB, free: 5.594 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/1.746, allocations: 9.627 MB / 0.912 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/1.746, allocations: 44 kB / 0.9121 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.746, allocations: 7.984 kB / 0.9121 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-05/1.746, allocations: 23.92 kB / 0.9121 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3244/2.071, allocations: 20.75 MB / 0.9324 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/2.071, allocations: 1.844 kB / 0.9324 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/2.074, allocations: 0.7291 MB / 0.9331 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006352/2.08, allocations: 2.966 MB / 0.936 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005788/2.081, allocations: 97.44 kB / 0.9361 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/2.081, allocations: 147.8 kB / 0.9362 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.081, allocations: 1.281 kB / 0.9362 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/2.1, allocations: 14.21 MB / 0.9501 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/2.104, allocations: 1.365 MB / 0.9514 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/2.105, allocations: 81.06 kB / 0.9515 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/2.108, allocations: 370.9 kB / 0.9519 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/2.109, allocations: 313.1 kB / 0.9522 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/2.109, allocations: 133.3 kB / 0.9523 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004843/2.114, allocations: 3.422 MB / 0.9556 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.193e-06/2.114, allocations: 0.875 kB / 0.9556 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00881/2.123, allocations: 3.197 MB / 0.9588 GB, free: 179.3 MB / 0.5763 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.0008278/2.124, allocations: 250.5 kB / 0.959 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01339/2.137, allocations: 9.906 MB / 0.9687 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.137, allocations: 0 / 0.9687 GB, free: 175.8 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.148, allocations: 4.452 MB / 0.973 GB, free: 172.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008849/2.157, allocations: 1.275 MB / 0.9743 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05269/2.209, allocations: 24.05 MB / 0.9977 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009389/2.219, allocations: 9.009 MB / 1.007 GB, free: 143 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006065/2.225, allocations: 2.869 MB / 1.009 GB, free: 140.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/2.226, allocations: 383.4 kB / 1.01 GB, free: 139.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.723e-06/2.226, allocations: 0 / 1.01 GB, free: 139.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.1271/2.353, allocations: 91.28 MB / 1.099 GB, free: 49.1 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches