Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1965/0.1965, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3322, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0227/0.3549, allocations: 22.72 MB / 0.5411 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.37, allocations: 5.459 MB / 0.5464 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007049/0.3771, allocations: 195.9 kB / 0.5466 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02036/0.3975, allocations: 9.488 MB / 0.5559 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.4089, allocations: 2.3 MB / 0.5581 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007872/0.4168, allocations: 1.7 MB / 0.5598 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.4339, allocations: 14.48 MB / 0.5739 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05078/0.4847, allocations: 34.28 MB / 0.6074 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/0.497, allocations: 7.988 MB / 0.6152 GB, free: 9.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/0.511, allocations: 8.725 MB / 0.6237 GB, free: 332 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007186/0.5182, allocations: 2.098 MB / 0.6258 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008971/0.5272, allocations: 2.339 MB / 0.628 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007875/0.5352, allocations: 4.325 MB / 0.6323 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01693/0.5521, allocations: 8.428 MB / 0.6405 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03197/0.5841, allocations: 28.67 MB / 0.6685 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.5842, allocations: 0 / 0.6685 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.727e-06/0.5842, allocations: 4 kB / 0.6685 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008864/0.5851, allocations: 0 / 0.6685 GB, free: 2.336 MB / 0.5137 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.06573/0.6508, allocations: 18.68 MB / 0.6867 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6509, allocations: 15.97 kB / 0.6868 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06148/0.7124, allocations: 11.69 MB / 0.6982 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02531/0.7377, allocations: 8.843 MB / 0.7068 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/0.739, allocations: 1.063 MB / 0.7079 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008296/0.7473, allocations: 1.371 MB / 0.7092 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6139/1.361, allocations: 23.58 MB / 0.7322 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005099/1.362, allocations: 21.84 kB / 0.7322 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005497/1.367, allocations: 0.567 MB / 0.7328 GB, free: 142.8 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008374/1.368, allocations: 0.701 MB / 0.7335 GB, free: 142.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04639/1.415, allocations: 21.69 MB / 0.7547 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1114/1.526, allocations: 70.84 MB / 0.8238 GB, free: 61.75 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.546, allocations: 28.66 MB / 0.8518 GB, free: 30.41 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006847/1.553, allocations: 4.961 MB / 0.8567 GB, free: 25.42 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02279/1.576, allocations: 15.67 MB / 0.872 GB, free: 9.605 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.576, allocations: 78.11 kB / 0.872 GB, free: 9.52 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.422e-06/1.576, allocations: 4 kB / 0.872 GB, free: 9.516 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03345/1.609, allocations: 15.7 MB / 0.8874 GB, free: 9.727 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/1.61, allocations: 124.7 kB / 0.8875 GB, free: 9.586 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008364/1.618, allocations: 5.105 MB / 0.8925 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009134/1.619, allocations: 97.7 kB / 0.8926 GB, free: 4.375 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003729/1.623, allocations: 5.889 MB / 0.8983 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/1.625, allocations: 1.587 MB / 0.8999 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/1.627, allocations: 1.531 MB / 0.9014 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/1.627, allocations: 309.1 kB / 0.9017 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006065/1.633, allocations: 4.144 MB / 0.9057 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.642, allocations: 7.262 MB / 0.9128 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.658, allocations: 11.92 MB / 0.9245 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-05/1.658, allocations: 36 kB / 0.9245 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02196/1.68, allocations: 13.11 MB / 0.9373 GB, free: 3.547 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/1.68, allocations: 48 kB / 0.9373 GB, free: 3.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.68, allocations: 104 kB / 0.9374 GB, free: 3.398 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/1.686, allocations: 3.102 MB / 0.9405 GB, free: 296 kB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.692, allocations: 1.587 MB / 0.942 GB, free: 14.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/1.692, allocations: 342.9 kB / 0.9423 GB, free: 14.35 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/1.698, allocations: 1.057 MB / 0.9434 GB, free: 13.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/1.699, allocations: 380 kB / 0.9437 GB, free: 12.91 MB / 0.6388 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.009297/1.708, allocations: 5.39 MB / 0.949 GB, free: 7.508 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.71, allocations: 0.4938 MB / 0.9495 GB, free: 7.008 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02105/1.731, allocations: 9.631 MB / 0.9589 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/1.731, allocations: 44 kB / 0.9589 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.731, allocations: 4 kB / 0.9589 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/1.731, allocations: 27.84 kB / 0.959 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3694/2.1, allocations: 20.75 MB / 0.9792 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/2.1, allocations: 1.531 kB / 0.9792 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/2.103, allocations: 0.7325 MB / 0.9799 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005707/2.109, allocations: 2.964 MB / 0.9828 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004568/2.11, allocations: 97.25 kB / 0.9829 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006152/2.11, allocations: 148.5 kB / 0.9831 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.11, allocations: 1.156 kB / 0.9831 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/2.128, allocations: 14.21 MB / 0.9969 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/2.132, allocations: 1.369 MB / 0.9983 GB, free: 216.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005775/2.132, allocations: 74.59 kB / 0.9984 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/2.135, allocations: 368.2 kB / 0.9987 GB, free: 216.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006247/2.135, allocations: 316.3 kB / 0.999 GB, free: 216.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/2.135, allocations: 128.3 kB / 0.9991 GB, free: 216.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003934/2.139, allocations: 3.419 MB / 1.002 GB, free: 215.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/2.139, allocations: 3.719 kB / 1.002 GB, free: 215.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006919/2.146, allocations: 3.185 MB / 1.006 GB, free: 214.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.0006136/2.147, allocations: 263.7 kB / 1.006 GB, free: 214 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01359/2.161, allocations: 9.912 MB / 1.016 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/2.161, allocations: 0 / 1.016 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006206/2.167, allocations: 4.442 MB / 1.02 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005571/2.172, allocations: 1.275 MB / 1.021 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/2.209, allocations: 23.95 MB / 1.044 GB, free: 186.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007414/2.217, allocations: 9.004 MB / 1.053 GB, free: 177.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006489/2.223, allocations: 2.875 MB / 1.056 GB, free: 174.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009653/2.224, allocations: 371.4 kB / 1.056 GB, free: 174.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.563e-06/2.224, allocations: 4 kB / 1.056 GB, free: 174.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.1255/2.35, allocations: 95.06 MB / 1.149 GB, free: 80.15 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches