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.001405/0.001411, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3028, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02342/0.3263, allocations: 22.74 MB / 0.5539 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3389, allocations: 5.522 MB / 0.5593 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004437/0.3434, allocations: 195.4 kB / 0.5594 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.3655, allocations: 9.48 MB / 0.5687 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008537/0.3741, allocations: 2.14 MB / 0.5708 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.3793, allocations: 1.907 MB / 0.5726 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01664/0.396, allocations: 14.47 MB / 0.5868 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04924/0.4453, allocations: 34.3 MB / 0.6203 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.4563, allocations: 7.996 MB / 0.6281 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0136/0.4699, allocations: 8.725 MB / 0.6366 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005326/0.4753, allocations: 2.098 MB / 0.6386 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006871/0.4822, allocations: 2.359 MB / 0.641 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004629/0.4868, allocations: 4.317 MB / 0.6452 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01154/0.4983, allocations: 8.428 MB / 0.6534 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0266/0.525, allocations: 28.69 MB / 0.6814 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.649e-05/0.525, allocations: 4 kB / 0.6814 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.637e-06/0.525, allocations: 0 / 0.6814 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006272/0.5257, allocations: 0 / 0.6814 GB, free: 7.785 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.05563/0.5813, allocations: 18.7 MB / 0.6997 GB, free: 4.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5814, allocations: 8.031 kB / 0.6997 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0641/0.6455, allocations: 11.69 MB / 0.7111 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/0.6632, allocations: 8.843 MB / 0.7197 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4503/1.114, allocations: 1.061 MB / 0.7208 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005547/1.119, allocations: 1.373 MB / 0.7221 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04671/1.166, allocations: 23.58 MB / 0.7451 GB, free: 136 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002995/1.166, allocations: 19.86 kB / 0.7452 GB, free: 136 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002294/1.168, allocations: 0.5779 MB / 0.7457 GB, free: 135.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004249/1.169, allocations: 0.6976 MB / 0.7464 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/1.203, allocations: 21.68 MB / 0.7676 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09946/1.303, allocations: 71.83 MB / 0.8377 GB, free: 40.79 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/1.322, allocations: 28.66 MB / 0.8657 GB, free: 9.449 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006366/1.328, allocations: 4.958 MB / 0.8706 GB, free: 4.469 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02656/1.355, allocations: 16.46 MB / 0.8866 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/1.355, allocations: 86.11 kB / 0.8867 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 6.442e-06/1.355, allocations: 0 / 0.8867 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03641/1.391, allocations: 15.7 MB / 0.902 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/1.391, allocations: 124.7 kB / 0.9022 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008584/1.4, allocations: 5.101 MB / 0.9071 GB, free: 14.51 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.000512/1.401, allocations: 101.7 kB / 0.9072 GB, free: 14.41 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.003916/1.404, allocations: 5.885 MB / 0.913 GB, free: 8.449 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/1.406, allocations: 1.587 MB / 0.9145 GB, free: 6.84 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/1.409, allocations: 1.531 MB / 0.916 GB, free: 5.301 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.409, allocations: 309.1 kB / 0.9163 GB, free: 4.996 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006407/1.416, allocations: 4.144 MB / 0.9204 GB, free: 0.8477 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008466/1.424, allocations: 7.271 MB / 0.9275 GB, free: 8.129 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/1.439, allocations: 11.93 MB / 0.9391 GB, free: 10.73 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.888e-05/1.439, allocations: 28 kB / 0.9392 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02175/1.461, allocations: 13.1 MB / 0.952 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.461, allocations: 55.88 kB / 0.952 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.461, allocations: 104 kB / 0.9521 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/1.468, allocations: 3.098 MB / 0.9551 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/1.474, allocations: 1.587 MB / 0.9567 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008133/1.475, allocations: 342.9 kB / 0.957 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005644/1.48, allocations: 1.053 MB / 0.958 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009074/1.481, allocations: 384 kB / 0.9584 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.009409/1.491, allocations: 5.39 MB / 0.9637 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.492, allocations: 0.4937 MB / 0.9641 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2882/1.78, allocations: 9.624 MB / 0.9735 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/1.78, allocations: 54.53 kB / 0.9736 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.78, allocations: 0 / 0.9736 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/1.78, allocations: 27.92 kB / 0.9736 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.809, allocations: 20.75 MB / 0.9939 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.809, allocations: 3.969 kB / 0.9939 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/1.812, allocations: 0.731 MB / 0.9946 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005529/1.818, allocations: 2.972 MB / 0.9975 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.818, allocations: 95.22 kB / 0.9976 GB, free: 209.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00063/1.819, allocations: 148.2 kB / 0.9977 GB, free: 209.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.819, allocations: 2 kB / 0.9977 GB, free: 209.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.836, allocations: 14.21 MB / 1.012 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.838, allocations: 1.37 MB / 1.013 GB, free: 202.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007902/1.839, allocations: 80 kB / 1.013 GB, free: 202.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/1.842, allocations: 366.2 kB / 1.013 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/1.843, allocations: 316.8 kB / 1.014 GB, free: 201.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002857/1.843, allocations: 127.4 kB / 1.014 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004269/1.847, allocations: 3.424 MB / 1.017 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.41e-07/1.847, allocations: 0 / 1.017 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006671/1.854, allocations: 3.188 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.000654/1.855, allocations: 262.1 kB / 1.021 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.868, allocations: 9.905 MB / 1.03 GB, free: 185.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.868, allocations: 4 kB / 1.03 GB, free: 185.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006687/1.875, allocations: 4.447 MB / 1.035 GB, free: 181 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/1.88, allocations: 1.269 MB / 1.036 GB, free: 179.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.916, allocations: 23.62 MB / 1.059 GB, free: 156.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007602/1.924, allocations: 8.723 MB / 1.067 GB, free: 147.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.926, allocations: 431.4 kB / 1.068 GB, free: 147 MB / 0.6544 GB Notification: Performance of SimCode: time 9.52e-07/1.926, allocations: 0 / 1.068 GB, free: 147 MB / 0.6544 GB Notification: Performance of Templates: time 0.5903/2.516, allocations: 383.1 MB / 1.442 GB, free: 19.66 MB / 0.6701 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/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