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.001144/0.001145, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001179/0.001179, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.361/1.361, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2295/0.2295, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3897, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02399/0.4138, allocations: 22.73 MB / 0.5418 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.4294, allocations: 5.462 MB / 0.5471 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007051/0.4365, allocations: 192.2 kB / 0.5473 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02205/0.4585, allocations: 9.481 MB / 0.5565 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.4702, allocations: 2.303 MB / 0.5588 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.4767, allocations: 1.706 MB / 0.5604 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02018/0.4969, allocations: 14.47 MB / 0.5746 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05382/0.5508, allocations: 34.29 MB / 0.6081 GB, free: 1.059 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.5646, allocations: 7.984 MB / 0.6159 GB, free: 9.055 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.5812, allocations: 8.725 MB / 0.6244 GB, free: 308 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006667/0.5879, allocations: 2.098 MB / 0.6264 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009134/0.5971, allocations: 2.332 MB / 0.6287 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007181/0.6043, allocations: 4.325 MB / 0.6329 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01697/0.6213, allocations: 8.424 MB / 0.6412 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03772/0.6591, allocations: 28.68 MB / 0.6692 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6591, allocations: 0 / 0.6692 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6591, allocations: 0 / 0.6692 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001023/0.6601, allocations: 0 / 0.6692 GB, free: 2.316 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.06552/0.7257, allocations: 18.7 MB / 0.6874 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7257, allocations: 12.03 kB / 0.6874 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0609/0.7867, allocations: 11.69 MB / 0.6988 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02293/0.8096, allocations: 8.843 MB / 0.7075 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/0.811, allocations: 1.06 MB / 0.7085 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006805/0.8178, allocations: 1.371 MB / 0.7099 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.654/1.472, allocations: 23.58 MB / 0.7329 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006212/1.473, allocations: 21.66 kB / 0.7329 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005495/1.478, allocations: 0.5708 MB / 0.7335 GB, free: 142.8 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/1.479, allocations: 0.6965 MB / 0.7341 GB, free: 142.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0471/1.526, allocations: 21.68 MB / 0.7553 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/1.646, allocations: 70.85 MB / 0.8245 GB, free: 61.72 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0223/1.668, allocations: 28.66 MB / 0.8525 GB, free: 30.38 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007888/1.676, allocations: 4.965 MB / 0.8573 GB, free: 25.39 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02985/1.706, allocations: 15.66 MB / 0.8726 GB, free: 9.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.897e-05/1.706, allocations: 86.11 kB / 0.8727 GB, free: 9.477 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 7.344e-06/1.706, allocations: 0 / 0.8727 GB, free: 9.477 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.0379/1.744, allocations: 15.7 MB / 0.888 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/1.744, allocations: 128.7 kB / 0.8882 GB, free: 9.551 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.756, allocations: 5.101 MB / 0.8932 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.757, allocations: 101.7 kB / 0.8932 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005176/1.762, allocations: 5.897 MB / 0.899 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00275/1.765, allocations: 1.583 MB / 0.9006 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00542/1.771, allocations: 1.531 MB / 0.902 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.771, allocations: 305.1 kB / 0.9023 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007836/1.779, allocations: 4.144 MB / 0.9064 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/1.789, allocations: 7.266 MB / 0.9135 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/1.807, allocations: 11.92 MB / 0.9251 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/1.807, allocations: 32 kB / 0.9252 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02668/1.834, allocations: 13.11 MB / 0.938 GB, free: 3.508 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/1.834, allocations: 48 kB / 0.938 GB, free: 3.461 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.834, allocations: 104 kB / 0.9381 GB, free: 3.359 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006782/1.841, allocations: 3.095 MB / 0.9411 GB, free: 264 kB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006317/1.847, allocations: 1.595 MB / 0.9427 GB, free: 14.66 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009013/1.848, allocations: 335 kB / 0.943 GB, free: 14.32 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006944/1.855, allocations: 1.061 MB / 0.944 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/1.857, allocations: 384 kB / 0.9444 GB, free: 12.88 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.01239/1.869, allocations: 5.39 MB / 0.9497 GB, free: 7.469 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/1.871, allocations: 0.4899 MB / 0.9501 GB, free: 6.973 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.89, allocations: 9.632 MB / 0.9596 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/1.89, allocations: 48 kB / 0.9596 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.891, allocations: 0 / 0.9596 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.314e-05/1.891, allocations: 27.84 kB / 0.9596 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4156/2.306, allocations: 20.75 MB / 0.9799 GB, free: 223.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/2.306, allocations: 1.797 kB / 0.9799 GB, free: 223.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/2.31, allocations: 0.7364 MB / 0.9806 GB, free: 223.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006131/2.316, allocations: 2.961 MB / 0.9835 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007455/2.317, allocations: 98.59 kB / 0.9836 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006107/2.317, allocations: 141.9 kB / 0.9837 GB, free: 222.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.317, allocations: 6.312 kB / 0.9837 GB, free: 222.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/2.337, allocations: 14.21 MB / 0.9976 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003269/2.341, allocations: 1.368 MB / 0.9989 GB, free: 217 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009551/2.342, allocations: 78.56 kB / 0.999 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/2.344, allocations: 372.9 kB / 0.9994 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006867/2.345, allocations: 314.1 kB / 0.9997 GB, free: 216.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002977/2.345, allocations: 130.8 kB / 0.9998 GB, free: 216.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005112/2.35, allocations: 3.424 MB / 1.003 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.51e-07/2.35, allocations: 0 / 1.003 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008507/2.359, allocations: 3.188 MB / 1.006 GB, free: 214.7 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.0009802/2.36, allocations: 245.9 kB / 1.006 GB, free: 214.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01471/2.375, allocations: 9.907 MB / 1.016 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.375, allocations: 0 / 1.016 GB, free: 211.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007689/2.382, allocations: 4.449 MB / 1.021 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.008145/2.391, allocations: 1.276 MB / 1.022 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04736/2.438, allocations: 23.5 MB / 1.045 GB, free: 186.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/2.449, allocations: 8.717 MB / 1.053 GB, free: 178.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/2.451, allocations: 431.4 kB / 1.054 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.342e-06/2.451, allocations: 0 / 1.054 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.6798/3.131, allocations: 383.1 MB / 1.428 GB, free: 32.68 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/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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches