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.001379/0.001379, allocations: 116.4 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 211.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, 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.2313/0.2313, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4021, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02349/0.4257, allocations: 22.75 MB / 0.5539 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4409, allocations: 5.514 MB / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006966/0.4479, allocations: 195.4 kB / 0.5594 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02133/0.4692, allocations: 9.522 MB / 0.5687 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.4806, allocations: 2.163 MB / 0.5709 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007051/0.4877, allocations: 1.886 MB / 0.5727 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02197/0.5096, allocations: 14.47 MB / 0.5868 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06083/0.5705, allocations: 34.29 MB / 0.6203 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01373/0.5843, allocations: 7.999 MB / 0.6281 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/0.599, allocations: 8.725 MB / 0.6366 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006399/0.6054, allocations: 2.102 MB / 0.6387 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008177/0.6136, allocations: 2.351 MB / 0.641 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007444/0.6211, allocations: 4.325 MB / 0.6452 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01691/0.638, allocations: 8.42 MB / 0.6534 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03672/0.6748, allocations: 28.69 MB / 0.6815 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6749, allocations: 0 / 0.6815 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6749, allocations: 4 kB / 0.6815 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00091/0.6758, allocations: 0 / 0.6815 GB, free: 7.762 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.06179/0.7376, allocations: 18.7 MB / 0.6997 GB, free: 4.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.7377, allocations: 8.031 kB / 0.6997 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06164/0.7993, allocations: 11.69 MB / 0.7112 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/0.8203, allocations: 8.847 MB / 0.7198 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3071/1.127, allocations: 1.053 MB / 0.7208 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006602/1.134, allocations: 1.37 MB / 0.7222 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06181/1.196, allocations: 23.59 MB / 0.7452 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006798/1.197, allocations: 19.22 kB / 0.7452 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004944/1.202, allocations: 0.5669 MB / 0.7458 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006679/1.202, allocations: 0.7093 MB / 0.7465 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0426/1.245, allocations: 21.68 MB / 0.7676 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1143/1.359, allocations: 71.82 MB / 0.8378 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/1.379, allocations: 28.65 MB / 0.8658 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007347/1.386, allocations: 4.962 MB / 0.8706 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02972/1.416, allocations: 16.46 MB / 0.8867 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/1.416, allocations: 82.11 kB / 0.8868 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.705e-06/1.416, allocations: 4 kB / 0.8868 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03888/1.455, allocations: 15.7 MB / 0.9021 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/1.455, allocations: 124.7 kB / 0.9022 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009954/1.465, allocations: 5.101 MB / 0.9072 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.466, allocations: 101.7 kB / 0.9073 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004531/1.471, allocations: 5.89 MB / 0.913 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002543/1.473, allocations: 1.587 MB / 0.9146 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004574/1.478, allocations: 1.535 MB / 0.9161 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.478, allocations: 305.1 kB / 0.9164 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00703/1.485, allocations: 4.148 MB / 0.9204 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.495, allocations: 7.259 MB / 0.9275 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/1.512, allocations: 11.93 MB / 0.9392 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.512, allocations: 28 kB / 0.9392 GB, free: 14.04 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02632/1.539, allocations: 13.11 MB / 0.952 GB, free: 0.9062 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.539, allocations: 56.56 kB / 0.9521 GB, free: 0.8516 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001881/1.539, allocations: 104 kB / 0.9522 GB, free: 0.75 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006798/1.546, allocations: 3.087 MB / 0.9552 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006206/1.552, allocations: 1.599 MB / 0.9567 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009279/1.553, allocations: 339 kB / 0.9571 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.559, allocations: 1.053 MB / 0.9581 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/1.561, allocations: 380 kB / 0.9584 GB, free: 10.28 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.01117/1.572, allocations: 5.394 MB / 0.9637 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001743/1.574, allocations: 0.5015 MB / 0.9642 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3379/1.912, allocations: 9.62 MB / 0.9736 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.259e-05/1.912, allocations: 50.19 kB / 0.9736 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.912, allocations: 1.094 kB / 0.9736 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-05/1.912, allocations: 23.95 kB / 0.9737 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03587/1.948, allocations: 20.75 MB / 0.9939 GB, free: 214.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.948, allocations: 2.016 kB / 0.9939 GB, free: 214.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.951, allocations: 0.7344 MB / 0.9947 GB, free: 214.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00605/1.957, allocations: 2.968 MB / 0.9976 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006515/1.958, allocations: 95.33 kB / 0.9976 GB, free: 213.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005481/1.958, allocations: 144.8 kB / 0.9978 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.958, allocations: 0 / 0.9978 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.976, allocations: 14.21 MB / 1.012 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00308/1.979, allocations: 1.364 MB / 1.013 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008609/1.98, allocations: 85.75 kB / 1.013 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.983, allocations: 368.6 kB / 1.013 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/1.983, allocations: 316.4 kB / 1.014 GB, free: 207.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/1.984, allocations: 133.4 kB / 1.014 GB, free: 207.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00537/1.989, allocations: 3.421 MB / 1.017 GB, free: 204.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/1.989, allocations: 0 / 1.017 GB, free: 204.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008286/1.997, allocations: 3.188 MB / 1.02 GB, free: 201.2 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.0008102/1.998, allocations: 255 kB / 1.021 GB, free: 201 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.013, allocations: 9.908 MB / 1.03 GB, free: 192 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/2.013, allocations: 0 / 1.03 GB, free: 192 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007359/2.02, allocations: 4.444 MB / 1.035 GB, free: 187.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005892/2.026, allocations: 1.273 MB / 1.036 GB, free: 186.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/2.066, allocations: 23.64 MB / 1.059 GB, free: 162.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00845/2.075, allocations: 8.703 MB / 1.067 GB, free: 154 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/2.077, allocations: 439.3 kB / 1.068 GB, free: 153.6 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/2.077, allocations: 0 / 1.068 GB, free: 153.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.6867/2.763, allocations: 383.1 MB / 1.442 GB, free: 7.609 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/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