Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1934/0.1934, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 80.64 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1007, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02261/0.1234, allocations: 22.73 MB / 0.4911 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1337, allocations: 5.514 MB / 0.4965 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003341/0.1371, allocations: 195.4 kB / 0.4967 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1997/0.3369, allocations: 9.476 MB / 0.5059 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00715/0.344, allocations: 2.143 MB / 0.508 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.349, allocations: 1.901 MB / 0.5099 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.3623, allocations: 14.35 MB / 0.5239 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04748/0.4099, allocations: 34.45 MB / 0.5575 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/0.4221, allocations: 7.971 MB / 0.5653 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01279/0.4349, allocations: 8.745 MB / 0.5738 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005467/0.4404, allocations: 2.098 MB / 0.5759 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009039/0.4494, allocations: 2.358 MB / 0.5782 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006819/0.4563, allocations: 4.323 MB / 0.5824 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01514/0.4715, allocations: 8.43 MB / 0.5906 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03088/0.5024, allocations: 28.51 MB / 0.6185 GB, free: 4.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5024, allocations: 4 kB / 0.6185 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5025, allocations: 0 / 0.6185 GB, free: 4.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007942/0.5033, allocations: 4 kB / 0.6185 GB, free: 4.668 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.0585/0.5618, allocations: 18.7 MB / 0.6368 GB, free: 2.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5618, allocations: 20.02 kB / 0.6368 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006246/0.5681, allocations: 2.011 MB / 0.6387 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06253/0.6306, allocations: 11.69 MB / 0.6502 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/0.6477, allocations: 8.565 MB / 0.6585 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/0.6488, allocations: 1.057 MB / 0.6595 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004973/0.6538, allocations: 1.372 MB / 0.6609 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05191/0.7057, allocations: 23.58 MB / 0.6839 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005031/0.7063, allocations: 15.81 kB / 0.6839 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00394/0.7102, allocations: 0.567 MB / 0.6845 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007207/0.711, allocations: 0.7095 MB / 0.6852 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3677/1.079, allocations: 21.68 MB / 0.7063 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/1.181, allocations: 72.71 MB / 0.7774 GB, free: 104 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/1.2, allocations: 28.67 MB / 0.8054 GB, free: 75.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006932/1.207, allocations: 4.958 MB / 0.8102 GB, free: 70.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.024/1.231, allocations: 16.5 MB / 0.8263 GB, free: 53.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.231, allocations: 86.05 kB / 0.8264 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.602e-06/1.231, allocations: 0 / 0.8264 GB, free: 53.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03261/1.263, allocations: 15.7 MB / 0.8417 GB, free: 38.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.263, allocations: 124.7 kB / 0.8418 GB, free: 37.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007684/1.271, allocations: 5.097 MB / 0.8468 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007899/1.272, allocations: 101.6 kB / 0.8469 GB, free: 32.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002765/1.275, allocations: 5.891 MB / 0.8527 GB, free: 26.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.276, allocations: 1.589 MB / 0.8542 GB, free: 25.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/1.28, allocations: 1.535 MB / 0.8557 GB, free: 23.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/1.28, allocations: 309.1 kB / 0.856 GB, free: 23.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005621/1.286, allocations: 4.141 MB / 0.8601 GB, free: 19.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007249/1.293, allocations: 7.259 MB / 0.8671 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/1.307, allocations: 11.93 MB / 0.8788 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/1.307, allocations: 28 kB / 0.8788 GB, free: 13.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02603/1.333, allocations: 13.1 MB / 0.8916 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/1.333, allocations: 54.88 kB / 0.8917 GB, free: 15.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.333, allocations: 108 kB / 0.8918 GB, free: 15.78 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006939/1.34, allocations: 3.102 MB / 0.8948 GB, free: 12.66 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006232/1.346, allocations: 1.591 MB / 0.8964 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/1.348, allocations: 339 kB / 0.8967 GB, free: 10.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/1.354, allocations: 1.057 MB / 0.8977 GB, free: 9.66 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.355, allocations: 380 kB / 0.8981 GB, free: 9.289 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.009223/1.365, allocations: 5.397 MB / 0.9033 GB, free: 3.875 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.366, allocations: 0.4938 MB / 0.9038 GB, free: 3.375 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.382, allocations: 9.631 MB / 0.9132 GB, free: 9.707 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/1.382, allocations: 48 kB / 0.9133 GB, free: 9.66 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.382, allocations: 4 kB / 0.9133 GB, free: 9.656 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/1.383, allocations: 23.91 kB / 0.9133 GB, free: 9.633 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2319/1.614, allocations: 20.79 MB / 0.9336 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.614, allocations: 1.625 kB / 0.9336 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.618, allocations: 0.7343 MB / 0.9343 GB, free: 187.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/1.624, allocations: 2.986 MB / 0.9372 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000444/1.624, allocations: 97.34 kB / 0.9373 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/1.625, allocations: 146.3 kB / 0.9375 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.625, allocations: 0.6094 kB / 0.9375 GB, free: 186.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.642, allocations: 14.22 MB / 0.9514 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/1.644, allocations: 1.368 MB / 0.9527 GB, free: 180.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007131/1.645, allocations: 79.78 kB / 0.9528 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.648, allocations: 370.6 kB / 0.9531 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/1.648, allocations: 310.7 kB / 0.9534 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.648, allocations: 133.2 kB / 0.9535 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004573/1.653, allocations: 3.421 MB / 0.9569 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.81e-07/1.653, allocations: 0 / 0.9569 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006966/1.66, allocations: 3.193 MB / 0.96 GB, free: 178.2 MB / 0.5763 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.0167/1.677, allocations: 14.92 MB / 0.9746 GB, free: 170.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.035/1.712, allocations: 19.62 MB / 0.9937 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.712, allocations: 0 / 0.9937 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00748/1.719, allocations: 4.453 MB / 0.9981 GB, free: 148.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007036/1.726, allocations: 1.268 MB / 0.9993 GB, free: 147.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/1.852, allocations: 90 MB / 1.087 GB, free: 52.46 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01564/1.868, allocations: 9.01 MB / 1.096 GB, free: 43.41 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007418/1.876, allocations: 2.865 MB / 1.099 GB, free: 40.54 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006513/1.882, allocations: 4.679 MB / 1.103 GB, free: 35.86 MB / 0.5763 GB Notification: Performance of SimCode: time 1.383e-06/1.882, allocations: 0 / 1.103 GB, free: 35.86 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4099/2.292, allocations: 179.5 MB / 1.279 GB, free: 74.12 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.46/21.75, allocations: 9.156 kB / 1.279 GB, free: 74.11 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches