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.001121/0.001121, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001158/0.001158, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2041/0.2041, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3395, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02221/0.3618, allocations: 22.73 MB / 0.5411 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.3752, allocations: 5.462 MB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005584/0.3808, allocations: 192.6 kB / 0.5466 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02055/0.4014, allocations: 9.475 MB / 0.5559 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00938/0.4108, allocations: 2.303 MB / 0.5581 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00517/0.416, allocations: 1.696 MB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01718/0.4332, allocations: 14.48 MB / 0.5739 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0463/0.4795, allocations: 34.28 MB / 0.6074 GB, free: 1.078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.4934, allocations: 7.956 MB / 0.6152 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01843/0.5119, allocations: 8.725 MB / 0.6237 GB, free: 356 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007054/0.519, allocations: 2.098 MB / 0.6257 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00897/0.528, allocations: 2.336 MB / 0.628 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006518/0.5345, allocations: 4.325 MB / 0.6322 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01384/0.5484, allocations: 8.432 MB / 0.6405 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03605/0.5845, allocations: 28.74 MB / 0.6685 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.5845, allocations: 4 kB / 0.6685 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5846, allocations: 0 / 0.6685 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009155/0.5855, allocations: 0 / 0.6685 GB, free: 2.277 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.06364/0.6491, allocations: 19.01 MB / 0.6871 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.6492, allocations: 8.031 kB / 0.6871 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0605/0.7097, allocations: 11.75 MB / 0.6986 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.726, allocations: 8.873 MB / 0.7073 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008859/0.727, allocations: 1.06 MB / 0.7083 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/0.7314, allocations: 1.375 MB / 0.7096 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.555/1.286, allocations: 23.57 MB / 0.7327 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009519/1.287, allocations: 20.52 kB / 0.7327 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005962/1.293, allocations: 0.5727 MB / 0.7332 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/1.295, allocations: 0.7016 MB / 0.7339 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04883/1.343, allocations: 21.68 MB / 0.7551 GB, free: 132.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/1.46, allocations: 71.03 MB / 0.8245 GB, free: 61.32 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02087/1.481, allocations: 28.67 MB / 0.8525 GB, free: 29.96 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00753/1.488, allocations: 4.965 MB / 0.8573 GB, free: 24.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02735/1.515, allocations: 15.68 MB / 0.8726 GB, free: 9.305 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/1.516, allocations: 90.11 kB / 0.8727 GB, free: 9.207 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.572e-06/1.516, allocations: 4 kB / 0.8727 GB, free: 9.203 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03535/1.551, allocations: 15.72 MB / 0.8881 GB, free: 9.398 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.551, allocations: 128.7 kB / 0.8882 GB, free: 9.254 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/1.563, allocations: 5.111 MB / 0.8932 GB, free: 4.207 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.565, allocations: 101.7 kB / 0.8933 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004428/1.569, allocations: 6.102 MB / 0.8992 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.572, allocations: 1.662 MB / 0.9009 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004484/1.576, allocations: 1.54 MB / 0.9024 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.576, allocations: 301.1 kB / 0.9026 GB, free: 11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007244/1.583, allocations: 4.144 MB / 0.9067 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00916/1.593, allocations: 7.266 MB / 0.9138 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/1.61, allocations: 11.92 MB / 0.9254 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/1.61, allocations: 32 kB / 0.9255 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02887/1.639, allocations: 13.13 MB / 0.9383 GB, free: 3.562 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.639, allocations: 48 kB / 0.9383 GB, free: 3.516 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/1.639, allocations: 104 kB / 0.9384 GB, free: 3.414 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/1.646, allocations: 3.098 MB / 0.9415 GB, free: 316 kB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00637/1.653, allocations: 1.591 MB / 0.943 GB, free: 14.71 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008896/1.654, allocations: 339 kB / 0.9433 GB, free: 14.37 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00762/1.661, allocations: 1.075 MB / 0.9444 GB, free: 13.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/1.663, allocations: 380 kB / 0.9447 GB, free: 12.92 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.012/1.675, allocations: 5.394 MB / 0.95 GB, free: 7.508 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/1.677, allocations: 0.5201 MB / 0.9505 GB, free: 6.984 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4002/2.077, allocations: 9.625 MB / 0.9599 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.83e-05/2.077, allocations: 47.59 kB / 0.96 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/2.077, allocations: 3.188 kB / 0.96 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/2.078, allocations: 26.8 kB / 0.96 GB, free: 208 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04606/2.124, allocations: 20.76 MB / 0.9803 GB, free: 201.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/2.124, allocations: 3.281 kB / 0.9803 GB, free: 201.2 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/2.127, allocations: 0.7315 MB / 0.981 GB, free: 201.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/2.133, allocations: 2.963 MB / 0.9839 GB, free: 200.4 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009645/2.134, allocations: 95.44 kB / 0.984 GB, free: 200.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006957/2.134, allocations: 157.4 kB / 0.9841 GB, free: 200.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.135, allocations: 2.531 kB / 0.9841 GB, free: 200.3 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02312/2.158, allocations: 14.24 MB / 0.998 GB, free: 195 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/2.162, allocations: 1.389 MB / 0.9994 GB, free: 194.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/2.163, allocations: 75.69 kB / 0.9995 GB, free: 194.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/2.167, allocations: 369.5 kB / 0.9998 GB, free: 194.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008353/2.168, allocations: 312.4 kB / 1 GB, free: 194.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004565/2.168, allocations: 132.4 kB / 1 GB, free: 194.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006549/2.175, allocations: 3.424 MB / 1.004 GB, free: 193.2 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.7e-07/2.175, allocations: 0 / 1.004 GB, free: 193.2 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01021/2.185, allocations: 3.226 MB / 1.007 GB, free: 192.5 MB / 0.6388 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.0009986/2.186, allocations: 247 kB / 1.007 GB, free: 192.3 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.202, allocations: 9.911 MB / 1.017 GB, free: 184.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/2.203, allocations: 4 kB / 1.017 GB, free: 184.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007773/2.21, allocations: 4.448 MB / 1.021 GB, free: 180.7 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008736/2.219, allocations: 1.273 MB / 1.022 GB, free: 179.5 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05219/2.271, allocations: 24.3 MB / 1.046 GB, free: 155.2 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01522/2.287, allocations: 9.01 MB / 1.055 GB, free: 146.2 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.008526/2.295, allocations: 2.873 MB / 1.058 GB, free: 143.3 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/2.297, allocations: 371.4 kB / 1.058 GB, free: 142.9 MB / 0.6388 GB Notification: Performance of SimCode: time 8.91e-07/2.297, allocations: 4 kB / 1.058 GB, free: 142.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1324/2.429, allocations: 94.33 MB / 1.15 GB, free: 49.16 MB / 0.6388 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