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.001387/0.001387, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 46.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4567, allocations: 62.44 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02515/0.4818, allocations: 22.75 MB / 0.5532 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.497, allocations: 5.518 MB / 0.5586 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008137/0.5052, allocations: 195.4 kB / 0.5588 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0223/0.5276, allocations: 9.515 MB / 0.5681 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009239/0.5368, allocations: 2.167 MB / 0.5702 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006717/0.5436, allocations: 1.893 MB / 0.572 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02049/0.5641, allocations: 14.47 MB / 0.5862 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06763/0.6318, allocations: 34.3 MB / 0.6197 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01902/0.6508, allocations: 7.999 MB / 0.6275 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01855/0.6694, allocations: 8.725 MB / 0.636 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008471/0.678, allocations: 2.098 MB / 0.638 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.6906, allocations: 2.351 MB / 0.6403 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01058/0.7012, allocations: 4.325 MB / 0.6446 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02452/0.7258, allocations: 8.428 MB / 0.6528 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04765/0.7735, allocations: 28.69 MB / 0.6808 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.7736, allocations: 7.938 kB / 0.6808 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.496e-06/0.7736, allocations: 4 kB / 0.6808 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001353/0.775, allocations: 0 / 0.6808 GB, free: 7.879 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.07573/0.8507, allocations: 18.69 MB / 0.6991 GB, free: 5.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.8508, allocations: 8.031 kB / 0.6991 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07379/0.9246, allocations: 11.69 MB / 0.7105 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03058/0.9553, allocations: 8.847 MB / 0.7191 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.594/1.549, allocations: 1.056 MB / 0.7202 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00818/1.558, allocations: 1.374 MB / 0.7215 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06821/1.626, allocations: 23.59 MB / 0.7445 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005712/1.626, allocations: 17.7 kB / 0.7446 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004425/1.631, allocations: 0.5741 MB / 0.7451 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005455/1.631, allocations: 0.6978 MB / 0.7458 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04613/1.678, allocations: 21.68 MB / 0.767 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/1.8, allocations: 71.82 MB / 0.8371 GB, free: 41 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/1.82, allocations: 28.66 MB / 0.8651 GB, free: 9.664 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007124/1.827, allocations: 4.958 MB / 0.8699 GB, free: 4.684 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02875/1.856, allocations: 16.47 MB / 0.886 GB, free: 3.828 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/1.856, allocations: 82.11 kB / 0.8861 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.462e-06/1.856, allocations: 0 / 0.8861 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03852/1.894, allocations: 15.7 MB / 0.9014 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.894, allocations: 124.7 kB / 0.9016 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.904, allocations: 5.097 MB / 0.9065 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.906, allocations: 97.7 kB / 0.9066 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004944/1.911, allocations: 5.893 MB / 0.9124 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002847/1.913, allocations: 1.587 MB / 0.9139 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003077/1.917, allocations: 1.531 MB / 0.9154 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.917, allocations: 313.1 kB / 0.9157 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007154/1.924, allocations: 4.141 MB / 0.9198 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.934, allocations: 7.267 MB / 0.9269 GB, free: 8.32 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/1.953, allocations: 11.93 MB / 0.9385 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/1.953, allocations: 31.94 kB / 0.9386 GB, free: 10.89 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02864/1.982, allocations: 13.1 MB / 0.9513 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.982, allocations: 51.94 kB / 0.9514 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/1.982, allocations: 112.1 kB / 0.9515 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006771/1.989, allocations: 3.094 MB / 0.9545 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006941/1.996, allocations: 1.591 MB / 0.9561 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/1.997, allocations: 335 kB / 0.9564 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007834/2.005, allocations: 1.065 MB / 0.9574 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/2.007, allocations: 376 kB / 0.9578 GB, free: 7.129 MB / 0.6544 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.01538/2.022, allocations: 5.394 MB / 0.9631 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/2.024, allocations: 0.4937 MB / 0.9635 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3974/2.422, allocations: 9.624 MB / 0.9729 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.403e-05/2.422, allocations: 50.53 kB / 0.973 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/2.422, allocations: 6.078 kB / 0.973 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001336/2.422, allocations: 24.3 kB / 0.973 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04876/2.471, allocations: 20.75 MB / 0.9933 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/2.471, allocations: 0.8438 kB / 0.9933 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003453/2.474, allocations: 0.7319 MB / 0.994 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005972/2.48, allocations: 2.964 MB / 0.9969 GB, free: 210 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009346/2.481, allocations: 100.8 kB / 0.997 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006446/2.482, allocations: 151.7 kB / 0.9971 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/2.482, allocations: 0 / 0.9971 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02195/2.504, allocations: 14.21 MB / 1.011 GB, free: 203.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/2.508, allocations: 1.362 MB / 1.012 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/2.509, allocations: 83.98 kB / 1.012 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/2.511, allocations: 370.5 kB / 1.013 GB, free: 202 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/2.512, allocations: 313.4 kB / 1.013 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/2.513, allocations: 135.3 kB / 1.013 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006254/2.519, allocations: 3.423 MB / 1.017 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/2.519, allocations: 0 / 1.017 GB, free: 198.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009976/2.529, allocations: 3.184 MB / 1.02 GB, free: 195.7 MB / 0.6544 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.001412/2.53, allocations: 249.8 kB / 1.02 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01792/2.548, allocations: 9.912 MB / 1.03 GB, free: 185.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.548, allocations: 0 / 1.03 GB, free: 185.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009044/2.557, allocations: 4.439 MB / 1.034 GB, free: 181.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/2.565, allocations: 1.283 MB / 1.035 GB, free: 180 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05307/2.618, allocations: 24.06 MB / 1.059 GB, free: 156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01845/2.636, allocations: 9.01 MB / 1.067 GB, free: 147 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008333/2.645, allocations: 2.869 MB / 1.07 GB, free: 144.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/2.647, allocations: 375.4 kB / 1.071 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.372e-06/2.647, allocations: 4 kB / 1.071 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1542/2.801, allocations: 94.38 MB / 1.163 GB, free: 49.89 MB / 0.6544 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 -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/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) Reference file matches