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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.92 MB / 349.6 MB, free: 1.695 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 66.61 kB / 491.8 MB, free: 29.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1374, allocations: 64.26 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02804/0.1655, allocations: 22.8 MB / 0.5653 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.1816, allocations: 5.483 MB / 0.5706 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005671/0.1872, allocations: 199.4 kB / 0.5708 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02466/0.2119, allocations: 9.559 MB / 0.5802 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.2226, allocations: 2.319 MB / 0.5824 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006951/0.2296, allocations: 1.71 MB / 0.5841 GB, free: 9.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02307/0.2527, allocations: 14.48 MB / 0.5982 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6498/0.9025, allocations: 26.17 MB / 0.6238 GB, free: 21.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0159/0.9184, allocations: 7.998 MB / 0.6316 GB, free: 20.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01462/0.933, allocations: 8.797 MB / 0.6402 GB, free: 18.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006187/0.9392, allocations: 2.099 MB / 0.6422 GB, free: 18.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008092/0.9473, allocations: 2.331 MB / 0.6445 GB, free: 18.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007822/0.9551, allocations: 4.336 MB / 0.6487 GB, free: 17.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.016/0.9711, allocations: 8.426 MB / 0.657 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04264/1.014, allocations: 28.75 MB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/1.014, allocations: 0 / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.005e-06/1.014, allocations: 0 / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009829/1.015, allocations: 0 / 0.6851 GB, free: 3.645 MB / 494.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.06236/1.077, allocations: 19.01 MB / 0.7036 GB, free: 0.6914 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.077, allocations: 12.03 kB / 0.7036 GB, free: 0.6797 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008888/1.086, allocations: 2.015 MB / 0.7056 GB, free: 14.67 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06308/1.149, allocations: 11.75 MB / 0.7171 GB, free: 3.031 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02524/1.174, allocations: 8.864 MB / 0.7257 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001505/1.176, allocations: 1.064 MB / 0.7268 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009534/1.185, allocations: 1.377 MB / 0.7281 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06595/1.251, allocations: 23.58 MB / 0.7511 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007549/1.252, allocations: 15.94 kB / 0.7512 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005586/1.258, allocations: 0.5729 MB / 0.7517 GB, free: 15.86 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009168/1.259, allocations: 0.7017 MB / 0.7524 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0545/1.313, allocations: 21.68 MB / 0.7736 GB, free: 9.465 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/1.459, allocations: 71.05 MB / 0.843 GB, free: 1.891 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3545/1.814, allocations: 28.03 MB / 0.8703 GB, free: 179.4 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008946/1.823, allocations: 4.502 MB / 0.8747 GB, free: 178.1 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03456/1.857, allocations: 15.69 MB / 0.89 GB, free: 171.6 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/1.857, allocations: 81.86 kB / 0.8901 GB, free: 171.5 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.342e-06/1.857, allocations: 0 / 0.8901 GB, free: 171.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03303/1.891, allocations: 15.65 MB / 0.9054 GB, free: 166.9 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.891, allocations: 127.2 kB / 0.9055 GB, free: 166.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007699/1.898, allocations: 5.109 MB / 0.9105 GB, free: 165.1 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009731/1.899, allocations: 105.1 kB / 0.9106 GB, free: 165 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003641/1.903, allocations: 6.101 MB / 0.9166 GB, free: 160.6 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002237/1.905, allocations: 1.665 MB / 0.9182 GB, free: 159.3 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00283/1.908, allocations: 1.536 MB / 0.9197 GB, free: 158.6 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/1.908, allocations: 305.1 kB / 0.92 GB, free: 158.3 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.914, allocations: 4.148 MB / 0.924 GB, free: 156.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007666/1.921, allocations: 7.265 MB / 0.9311 GB, free: 151.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.934, allocations: 11.93 MB / 0.9428 GB, free: 138.6 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.946e-05/1.934, allocations: 28 kB / 0.9428 GB, free: 138.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01931/1.954, allocations: 13.05 MB / 0.9556 GB, free: 125.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.954, allocations: 49 kB / 0.9556 GB, free: 125.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.954, allocations: 104 kB / 0.9557 GB, free: 125.4 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.959, allocations: 3.105 MB / 0.9587 GB, free: 122.3 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005343/1.965, allocations: 1.591 MB / 0.9603 GB, free: 120.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/1.965, allocations: 334.9 kB / 0.9606 GB, free: 120.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/1.971, allocations: 1.083 MB / 0.9617 GB, free: 119.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.972, allocations: 384 kB / 0.962 GB, free: 118.9 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.008576/1.981, allocations: 5.382 MB / 0.9673 GB, free: 113.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.982, allocations: 0.5201 MB / 0.9678 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.995, allocations: 9.553 MB / 0.9771 GB, free: 103.4 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/1.995, allocations: 48 kB / 0.9772 GB, free: 103.3 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.995, allocations: 0 / 0.9772 GB, free: 103.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.231e-05/1.995, allocations: 23.91 kB / 0.9772 GB, free: 103.3 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03717/2.032, allocations: 20.69 MB / 0.9974 GB, free: 82.64 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/2.032, allocations: 0 / 0.9974 GB, free: 82.64 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/2.035, allocations: 0.7255 MB / 0.9981 GB, free: 81.91 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/2.04, allocations: 2.965 MB / 1.001 GB, free: 78.93 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006365/2.041, allocations: 95.98 kB / 1.001 GB, free: 78.84 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005539/2.042, allocations: 150.4 kB / 1.001 GB, free: 78.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.042, allocations: 7.938 kB / 1.001 GB, free: 78.68 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/2.059, allocations: 14.15 MB / 1.015 GB, free: 64.49 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003782/2.062, allocations: 1.391 MB / 1.016 GB, free: 63.08 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/2.063, allocations: 84.06 kB / 1.016 GB, free: 63 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/2.067, allocations: 363.5 kB / 1.017 GB, free: 62.64 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007848/2.067, allocations: 319.3 kB / 1.017 GB, free: 62.33 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/2.068, allocations: 132 kB / 1.017 GB, free: 62.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.004684/2.072, allocations: 3.423 MB / 1.021 GB, free: 58.78 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/2.072, allocations: 0 / 1.021 GB, free: 58.78 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008531/2.081, allocations: 3.234 MB / 1.024 GB, free: 55.54 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.01896/2.1, allocations: 14.87 MB / 1.038 GB, free: 40.63 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01538/2.115, allocations: 9.506 MB / 1.048 GB, free: 31.12 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.115, allocations: 0 / 1.048 GB, free: 31.12 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.008546/2.124, allocations: 4.099 MB / 1.052 GB, free: 27 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008045/2.132, allocations: 1.272 MB / 1.053 GB, free: 25.77 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4746/2.606, allocations: 77.6 MB / 1.129 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01565/2.622, allocations: 9.016 MB / 1.137 GB, free: 205.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007006/2.629, allocations: 2.874 MB / 1.14 GB, free: 204.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007853/2.637, allocations: 4.677 MB / 1.145 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.033e-06/2.637, allocations: 0 / 1.145 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2345/2.871, allocations: 179.9 MB / 1.32 GB, free: 29.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/26.52, allocations: 17.97 kB / 1.32 GB, free: 29.35 MB / 0.6544 GB " [Timeout remaining time 633] (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 --stepSize=0.00019976 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 34.31325025483966]