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.001085/0.001085, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 80.06 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4581, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02722/0.4854, allocations: 22.74 MB / 0.5532 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.502, allocations: 5.522 MB / 0.5586 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007667/0.5097, allocations: 195.4 kB / 0.5588 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02294/0.5328, allocations: 9.481 MB / 0.568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01385/0.5467, allocations: 2.151 MB / 0.5701 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007947/0.5546, allocations: 1.89 MB / 0.572 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02222/0.5768, allocations: 14.47 MB / 0.5861 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06542/0.6423, allocations: 34.3 MB / 0.6196 GB, free: 6.586 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01555/0.6579, allocations: 7.992 MB / 0.6274 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/0.6744, allocations: 8.729 MB / 0.6359 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007721/0.6822, allocations: 2.098 MB / 0.638 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.6952, allocations: 2.355 MB / 0.6403 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01004/0.7053, allocations: 4.318 MB / 0.6445 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02187/0.7272, allocations: 8.432 MB / 0.6527 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04211/0.7694, allocations: 28.69 MB / 0.6808 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.7694, allocations: 0 / 0.6808 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7694, allocations: 3.938 kB / 0.6808 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001077/0.7705, allocations: 0 / 0.6808 GB, free: 7.801 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.06853/0.8391, allocations: 18.7 MB / 0.699 GB, free: 4.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8391, allocations: 12.03 kB / 0.699 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0605/0.8996, allocations: 11.69 MB / 0.7104 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02461/0.9243, allocations: 8.843 MB / 0.7191 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.7787/1.703, allocations: 1.059 MB / 0.7201 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009745/1.713, allocations: 1.375 MB / 0.7215 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07639/1.789, allocations: 23.58 MB / 0.7445 GB, free: 136 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007577/1.79, allocations: 25.48 kB / 0.7445 GB, free: 136 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006144/1.796, allocations: 0.5715 MB / 0.7451 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008747/1.797, allocations: 0.6975 MB / 0.7458 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04793/1.845, allocations: 21.68 MB / 0.7669 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/1.976, allocations: 71.83 MB / 0.8371 GB, free: 40.81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.996, allocations: 28.65 MB / 0.865 GB, free: 9.48 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007129/2.003, allocations: 4.962 MB / 0.8699 GB, free: 4.496 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0271/2.03, allocations: 16.47 MB / 0.886 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.058e-05/2.03, allocations: 86.11 kB / 0.8861 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.533e-06/2.03, allocations: 0 / 0.8861 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03667/2.067, allocations: 15.7 MB / 0.9014 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/2.067, allocations: 128.6 kB / 0.9015 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0088/2.076, allocations: 5.101 MB / 0.9065 GB, free: 14.51 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/2.077, allocations: 101.7 kB / 0.9066 GB, free: 14.41 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004418/2.082, allocations: 5.889 MB / 0.9123 GB, free: 8.441 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002354/2.084, allocations: 1.583 MB / 0.9139 GB, free: 6.836 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002556/2.086, allocations: 1.535 MB / 0.9154 GB, free: 5.293 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 0.0001229/2.087, allocations: 301.1 kB / 0.9157 GB, free: 4.996 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006891/2.093, allocations: 4.148 MB / 0.9197 GB, free: 0.8438 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008937/2.102, allocations: 7.263 MB / 0.9268 GB, free: 8.137 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/2.119, allocations: 11.93 MB / 0.9385 GB, free: 10.74 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/2.12, allocations: 32 kB / 0.9385 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02343/2.143, allocations: 13.1 MB / 0.9513 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/2.143, allocations: 55.88 kB / 0.9513 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/2.143, allocations: 104 kB / 0.9514 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006524/2.15, allocations: 3.098 MB / 0.9545 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/2.156, allocations: 1.595 MB / 0.956 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009783/2.157, allocations: 331 kB / 0.9563 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007251/2.164, allocations: 1.057 MB / 0.9574 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/2.166, allocations: 384 kB / 0.9577 GB, free: 6.941 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.0121/2.178, allocations: 5.393 MB / 0.963 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/2.18, allocations: 0.5054 MB / 0.9635 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3999/2.58, allocations: 9.613 MB / 0.9729 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-05/2.58, allocations: 51.31 kB / 0.9729 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/2.58, allocations: 1.594 kB / 0.9729 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.549e-05/2.58, allocations: 22.78 kB / 0.973 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03705/2.617, allocations: 20.75 MB / 0.9932 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/2.617, allocations: 3.5 kB / 0.9932 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/2.621, allocations: 0.7374 MB / 0.9939 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/2.627, allocations: 2.968 MB / 0.9968 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009748/2.628, allocations: 98.86 kB / 0.9969 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006231/2.629, allocations: 140.6 kB / 0.9971 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/2.629, allocations: 0 / 0.9971 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/2.648, allocations: 14.22 MB / 1.011 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003706/2.652, allocations: 1.367 MB / 1.012 GB, free: 202.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/2.653, allocations: 79.53 kB / 1.012 GB, free: 202 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/2.656, allocations: 372.7 kB / 1.013 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/2.657, allocations: 309.1 kB / 1.013 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002904/2.657, allocations: 135.5 kB / 1.013 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005388/2.663, allocations: 3.423 MB / 1.016 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/2.663, allocations: 0 / 1.016 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009507/2.672, allocations: 3.186 MB / 1.02 GB, free: 195.5 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.00135/2.674, allocations: 262 kB / 1.02 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01577/2.689, allocations: 9.908 MB / 1.03 GB, free: 185.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.689, allocations: 0 / 1.03 GB, free: 185.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/2.697, allocations: 4.439 MB / 1.034 GB, free: 181 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/2.703, allocations: 1.271 MB / 1.035 GB, free: 179.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0424/2.745, allocations: 24.06 MB / 1.059 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01347/2.759, allocations: 9.01 MB / 1.067 GB, free: 146.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006691/2.765, allocations: 2.877 MB / 1.07 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/2.767, allocations: 375.4 kB / 1.071 GB, free: 143.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.784e-06/2.767, allocations: 0 / 1.071 GB, free: 143.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1442/2.911, allocations: 95.11 MB / 1.163 GB, free: 48.96 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