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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 104 kB / 17.63 MB, free: 5.543 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.001146/0.001146, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.312/1.312, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.1902/0.1902, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.83 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09689, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02194/0.1189, allocations: 22.71 MB / 492.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1301, allocations: 5.459 MB / 497.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.1341, allocations: 191.4 kB / 497.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02001/0.1541, allocations: 9.491 MB / 0.4953 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007972/0.1621, allocations: 2.297 MB / 0.4976 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00527/0.1674, allocations: 1.701 MB / 0.4992 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2056/0.373, allocations: 14.36 MB / 0.5132 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04303/0.4161, allocations: 34.43 MB / 0.5469 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.4288, allocations: 7.947 MB / 0.5546 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.4424, allocations: 8.821 MB / 0.5632 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005204/0.4476, allocations: 2.098 MB / 0.5653 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007964/0.4556, allocations: 2.337 MB / 0.5676 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006902/0.4626, allocations: 4.331 MB / 0.5718 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0165/0.4791, allocations: 8.614 MB / 0.5802 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02975/0.5089, allocations: 28.51 MB / 0.6081 GB, free: 15.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5089, allocations: 4 kB / 0.6081 GB, free: 15.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5089, allocations: 7.938 kB / 0.6081 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000797/0.5097, allocations: 0 / 0.6081 GB, free: 15.71 MB / 462.1 MB 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.05531/0.565, allocations: 18.69 MB / 0.6263 GB, free: 13.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5651, allocations: 12.03 kB / 0.6263 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007087/0.5722, allocations: 2.014 MB / 0.6283 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06608/0.6383, allocations: 11.68 MB / 0.6397 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/0.6571, allocations: 8.564 MB / 0.6481 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.6581, allocations: 1.054 MB / 0.6491 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004739/0.6629, allocations: 1.377 MB / 0.6504 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/0.7176, allocations: 23.58 MB / 0.6735 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005958/0.7182, allocations: 19.47 kB / 0.6735 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00438/0.7226, allocations: 0.5753 MB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007161/0.7234, allocations: 0.7017 MB / 0.6747 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0467/0.7701, allocations: 21.69 MB / 0.6959 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5443/1.314, allocations: 71.72 MB / 0.7659 GB, free: 93.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/1.336, allocations: 28.66 MB / 0.7939 GB, free: 67.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007305/1.343, allocations: 4.969 MB / 0.7988 GB, free: 64.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02674/1.37, allocations: 15.68 MB / 0.8141 GB, free: 50.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/1.37, allocations: 90.03 kB / 0.8142 GB, free: 50.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.794e-06/1.37, allocations: 0 / 0.8142 GB, free: 50.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03533/1.405, allocations: 15.7 MB / 0.8295 GB, free: 34.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.405, allocations: 124.6 kB / 0.8296 GB, free: 34.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008422/1.414, allocations: 5.117 MB / 0.8346 GB, free: 29.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009034/1.415, allocations: 101.7 kB / 0.8347 GB, free: 29.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/1.417, allocations: 5.88 MB / 0.8405 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.419, allocations: 1.584 MB / 0.842 GB, free: 21.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/1.423, allocations: 1.535 MB / 0.8435 GB, free: 19.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/1.423, allocations: 305.2 kB / 0.8438 GB, free: 19.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/1.429, allocations: 4.141 MB / 0.8478 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006641/1.435, allocations: 7.272 MB / 0.8549 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/1.449, allocations: 11.92 MB / 0.8666 GB, free: 9.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.376e-05/1.449, allocations: 32 kB / 0.8666 GB, free: 9.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02378/1.473, allocations: 13.11 MB / 0.8794 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.473, allocations: 48.22 kB / 0.8795 GB, free: 13.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.473, allocations: 108 kB / 0.8796 GB, free: 13.23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006908/1.48, allocations: 3.102 MB / 0.8826 GB, free: 10.13 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.486, allocations: 1.594 MB / 0.8842 GB, free: 8.648 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009664/1.487, allocations: 342 kB / 0.8845 GB, free: 8.348 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.494, allocations: 1.053 MB / 0.8855 GB, free: 7.285 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.495, allocations: 384 kB / 0.8859 GB, free: 6.91 MB / 0.5607 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.009083/1.504, allocations: 5.384 MB / 0.8911 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.506, allocations: 0.4977 MB / 0.8916 GB, free: 1.125 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.524, allocations: 9.642 MB / 0.901 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/1.524, allocations: 48 kB / 0.9011 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.524, allocations: 0 / 0.9011 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.738e-05/1.524, allocations: 23.91 kB / 0.9011 GB, free: 7.395 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/1.566, allocations: 20.81 MB / 0.9214 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.566, allocations: 0 / 0.9214 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/1.57, allocations: 0.7285 MB / 0.9221 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.224/1.794, allocations: 2.977 MB / 0.925 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009228/1.795, allocations: 101.5 kB / 0.9251 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007147/1.795, allocations: 146.7 kB / 0.9253 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.795, allocations: 5.484 kB / 0.9253 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02221/1.818, allocations: 14.2 MB / 0.9392 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/1.821, allocations: 1.364 MB / 0.9405 GB, free: 212 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.822, allocations: 80.19 kB / 0.9406 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/1.825, allocations: 364.1 kB / 0.9409 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000707/1.826, allocations: 313.7 kB / 0.9412 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.826, allocations: 133.2 kB / 0.9413 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004727/1.831, allocations: 3.425 MB / 0.9447 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.831, allocations: 0 / 0.9447 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007549/1.839, allocations: 3.182 MB / 0.9478 GB, free: 209.6 MB / 0.5919 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.01802/1.857, allocations: 14.93 MB / 0.9624 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03601/1.893, allocations: 19.62 MB / 0.9815 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.893, allocations: 4 kB / 0.9815 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008167/1.901, allocations: 4.443 MB / 0.9859 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008821/1.91, allocations: 1.264 MB / 0.9871 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/2.038, allocations: 89.88 MB / 1.075 GB, free: 90.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01496/2.053, allocations: 9.01 MB / 1.084 GB, free: 81.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008469/2.061, allocations: 2.869 MB / 1.086 GB, free: 78.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00725/2.068, allocations: 4.678 MB / 1.091 GB, free: 73.74 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/2.068, allocations: 0 / 1.091 GB, free: 73.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4763/2.545, allocations: 179.4 MB / 1.266 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/18.63, allocations: 10.58 kB / 1.266 GB, free: 122.8 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > 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