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.001303/0.001303, allocations: 107.7 kB / 17.21 MB, free: 6.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.0009873/0.0009873, allocations: 194 kB / 18.12 MB, free: 5.379 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.314/1.314, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.2032/0.2032, allocations: 44.17 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.56 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.83 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02181/0.1268, allocations: 22.31 MB / 490.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1376, allocations: 5.421 MB / 496.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.1416, allocations: 187.4 kB / 496.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01828/0.1599, allocations: 8.99 MB / 0.4937 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007182/0.1671, allocations: 2.104 MB / 0.4957 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.1714, allocations: 1.596 MB / 0.4973 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2042/0.3757, allocations: 14.46 MB / 0.5114 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03332/0.409, allocations: 29.04 MB / 0.5398 GB, free: 208 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009581/0.4186, allocations: 7.11 MB / 0.5467 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.4293, allocations: 8.406 MB / 0.5549 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.4321, allocations: 1.512 MB / 0.5564 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.4362, allocations: 1.745 MB / 0.5581 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.4392, allocations: 3.678 MB / 0.5617 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009489/0.4487, allocations: 7.778 MB / 0.5693 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.4707, allocations: 28.04 MB / 0.5967 GB, free: 10.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4707, allocations: 0 / 0.5967 GB, free: 10.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4707, allocations: 4 kB / 0.5967 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005027/0.4713, allocations: 0 / 0.5967 GB, free: 10.23 MB / 446.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.04647/0.5177, allocations: 18.67 MB / 0.6149 GB, free: 7.645 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5178, allocations: 8.031 kB / 0.6149 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003231/0.521, allocations: 2.016 MB / 0.6169 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05727/0.5783, allocations: 11.69 MB / 0.6283 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.5942, allocations: 8.558 MB / 0.6367 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008381/0.595, allocations: 1.057 MB / 0.6377 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004369/0.5994, allocations: 1.375 MB / 0.639 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0445/0.6439, allocations: 23.58 MB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/0.6443, allocations: 19.56 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002957/0.6473, allocations: 0.5793 MB / 0.6627 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006143/0.6479, allocations: 0.6978 MB / 0.6633 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0387/0.6866, allocations: 21.68 MB / 0.6845 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4497/1.136, allocations: 71.7 MB / 0.7545 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/1.153, allocations: 28.67 MB / 0.7825 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/1.159, allocations: 4.961 MB / 0.7874 GB, free: 98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/1.179, allocations: 15.68 MB / 0.8027 GB, free: 85.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.179, allocations: 82.11 kB / 0.8028 GB, free: 85.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.212e-06/1.179, allocations: 0 / 0.8028 GB, free: 85.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03037/1.21, allocations: 15.71 MB / 0.8181 GB, free: 69.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.21, allocations: 124.7 kB / 0.8182 GB, free: 69.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/1.215, allocations: 5.109 MB / 0.8232 GB, free: 63.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.215, allocations: 101.7 kB / 0.8233 GB, free: 63.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/1.217, allocations: 5.88 MB / 0.8291 GB, free: 57.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/1.218, allocations: 1.589 MB / 0.8306 GB, free: 56.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.22, allocations: 1.535 MB / 0.8321 GB, free: 54.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.126e-05/1.22, allocations: 305.1 kB / 0.8324 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004767/1.225, allocations: 4.144 MB / 0.8364 GB, free: 50.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/1.231, allocations: 7.266 MB / 0.8435 GB, free: 41.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.241, allocations: 11.92 MB / 0.8552 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.574e-05/1.241, allocations: 32 kB / 0.8552 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01641/1.258, allocations: 13.11 MB / 0.868 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/1.258, allocations: 50.34 kB / 0.8681 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.386e-05/1.258, allocations: 104 kB / 0.8682 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/1.263, allocations: 3.087 MB / 0.8712 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/1.268, allocations: 1.603 MB / 0.8728 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005453/1.268, allocations: 334.9 kB / 0.8731 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/1.273, allocations: 1.065 MB / 0.8741 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/1.273, allocations: 384 kB / 0.8745 GB, free: 8.496 MB / 0.5294 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.006083/1.279, allocations: 5.397 MB / 0.8797 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007308/1.28, allocations: 0.4938 MB / 0.8802 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.294, allocations: 9.635 MB / 0.8896 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/1.294, allocations: 52 kB / 0.8897 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.294, allocations: 0 / 0.8897 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/1.294, allocations: 23.91 kB / 0.8897 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0312/1.326, allocations: 20.79 MB / 0.91 GB, free: 4.062 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.326, allocations: 3.938 kB / 0.91 GB, free: 4.059 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/1.329, allocations: 0.7294 MB / 0.9107 GB, free: 3.328 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006015/1.335, allocations: 2.969 MB / 0.9136 GB, free: 356 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/1.335, allocations: 95.98 kB / 0.9137 GB, free: 260 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006078/1.336, allocations: 154.4 kB / 0.9139 GB, free: 96 kB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.336, allocations: 4 kB / 0.9139 GB, free: 92 kB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2189/1.554, allocations: 14.19 MB / 0.9277 GB, free: 185 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/1.557, allocations: 1.372 MB / 0.9291 GB, free: 184.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007422/1.558, allocations: 76.06 kB / 0.9291 GB, free: 184.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/1.561, allocations: 383.6 kB / 0.9295 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/1.562, allocations: 313.9 kB / 0.9298 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/1.562, allocations: 129.9 kB / 0.9299 GB, free: 184.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004657/1.567, allocations: 3.425 MB / 0.9333 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.7e-07/1.567, allocations: 0 / 0.9333 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006654/1.573, allocations: 3.187 MB / 0.9364 GB, free: 182.2 MB / 0.5607 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.01798/1.591, allocations: 14.92 MB / 0.951 GB, free: 176 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.605, allocations: 9.874 MB / 0.9606 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.605, allocations: 0 / 0.9606 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006572/1.612, allocations: 4.453 MB / 0.965 GB, free: 166.9 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005572/1.617, allocations: 1.194 MB / 0.9661 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1173/1.735, allocations: 95.44 MB / 1.059 GB, free: 63.91 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/1.745, allocations: 9.01 MB / 1.068 GB, free: 54.86 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006461/1.752, allocations: 2.869 MB / 1.071 GB, free: 51.98 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004733/1.757, allocations: 4.674 MB / 1.075 GB, free: 47.31 MB / 0.5607 GB Notification: Performance of SimCode: time 1.002e-06/1.757, allocations: 0 / 1.075 GB, free: 47.31 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3915/2.148, allocations: 175 MB / 1.246 GB, free: 81.98 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/2.148, allocations: 236.3 kB / 1.247 GB, free: 81.72 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.912/7.061, allocations: 2.953 kB / 1.247 GB, free: 81.72 MB / 0.5607 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