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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.2501/0.2501, allocations: 44.91 MB / 359.6 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 65.94 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02799/0.3974, allocations: 22.88 MB / 0.5801 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.4112, allocations: 5.545 MB / 0.5855 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/0.4168, allocations: 230.8 kB / 0.5858 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02269/0.4395, allocations: 9.586 MB / 0.5951 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009791/0.4493, allocations: 2.214 MB / 0.5973 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006495/0.4558, allocations: 1.94 MB / 0.5992 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0204/0.4762, allocations: 14.54 MB / 0.6134 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04418/0.5204, allocations: 21.29 MB / 0.6342 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/0.5357, allocations: 8.16 MB / 0.6421 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.5532, allocations: 8.799 MB / 0.6507 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007245/0.5604, allocations: 2.102 MB / 0.6528 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008647/0.569, allocations: 2.351 MB / 0.6551 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01124/0.5803, allocations: 4.337 MB / 0.6593 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0188/0.5991, allocations: 8.428 MB / 0.6676 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04031/0.6394, allocations: 28.78 MB / 0.6957 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6394, allocations: 0 / 0.6957 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6394, allocations: 0 / 0.6957 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009028/0.6403, allocations: 0 / 0.6957 GB, free: 9.988 MB / 0.5294 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.06734/0.7076, allocations: 18.95 MB / 0.7142 GB, free: 6.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.7077, allocations: 8.031 kB / 0.7142 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004922/0.7082, allocations: 385.1 kB / 0.7145 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008529/0.7167, allocations: 2.017 MB / 0.7165 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06343/0.7802, allocations: 11.48 MB / 0.7277 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6713/1.451, allocations: 9.038 MB / 0.7365 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00496/1.456, allocations: 1.057 MB / 0.7376 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009877/1.466, allocations: 1.37 MB / 0.7389 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08191/1.548, allocations: 23.64 MB / 0.762 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007872/1.549, allocations: 21.36 kB / 0.762 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006459/1.555, allocations: 0.5696 MB / 0.7626 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008196/1.556, allocations: 0.7002 MB / 0.7633 GB, free: 124.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05087/1.607, allocations: 21.75 MB / 0.7845 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1344/1.742, allocations: 69.75 MB / 0.8526 GB, free: 32.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/1.761, allocations: 11.39 MB / 0.8637 GB, free: 22.51 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008958/1.77, allocations: 4.508 MB / 0.8681 GB, free: 17.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03287/1.803, allocations: 15.28 MB / 0.8831 GB, free: 2.82 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.104e-05/1.803, allocations: 86.11 kB / 0.8831 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 9.357e-06/1.803, allocations: 0 / 0.8831 GB, free: 2.727 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.04371/1.847, allocations: 15.44 MB / 0.8982 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.847, allocations: 128.6 kB / 0.8983 GB, free: 3.113 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.859, allocations: 5.113 MB / 0.9033 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/1.861, allocations: 101.7 kB / 0.9034 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00637/1.867, allocations: 6.093 MB / 0.9094 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/1.87, allocations: 1.674 MB / 0.911 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006287/1.876, allocations: 1.551 MB / 0.9125 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.877, allocations: 301.1 kB / 0.9128 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009053/1.886, allocations: 4.152 MB / 0.9169 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.898, allocations: 7.266 MB / 0.924 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/1.922, allocations: 11.96 MB / 0.9356 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002611/1.922, allocations: 39.88 kB / 0.9357 GB, free: 10.5 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03296/1.955, allocations: 13.08 MB / 0.9485 GB, free: 13.4 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/1.955, allocations: 55.94 kB / 0.9485 GB, free: 13.34 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002432/1.955, allocations: 103.9 kB / 0.9486 GB, free: 13.24 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008066/1.963, allocations: 3.103 MB / 0.9516 GB, free: 10.13 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006986/1.97, allocations: 1.595 MB / 0.9532 GB, free: 8.531 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/1.971, allocations: 342.9 kB / 0.9535 GB, free: 8.184 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008907/1.98, allocations: 1.067 MB / 0.9546 GB, free: 7.109 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.982, allocations: 388 kB / 0.9549 GB, free: 6.73 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.0143/1.997, allocations: 5.391 MB / 0.9602 GB, free: 1.324 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002502/1.999, allocations: 0.5239 MB / 0.9607 GB, free: 0.7969 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02369/2.023, allocations: 9.547 MB / 0.97 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/2.023, allocations: 55.94 kB / 0.9701 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/2.023, allocations: 0 / 0.9701 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001247/2.023, allocations: 23.91 kB / 0.9701 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05634/2.079, allocations: 20.88 MB / 0.9905 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/2.079, allocations: 0 / 0.9905 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003973/2.083, allocations: 0.7333 MB / 0.9912 GB, free: 1.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3331/2.416, allocations: 2.963 MB / 0.9941 GB, free: 227.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/2.418, allocations: 105.9 kB / 0.9942 GB, free: 227.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007912/2.418, allocations: 151.2 kB / 0.9944 GB, free: 227.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.418, allocations: 0 / 0.9944 GB, free: 227.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02211/2.44, allocations: 14.2 MB / 1.008 GB, free: 223.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004629/2.445, allocations: 1.365 MB / 1.01 GB, free: 223 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001826/2.447, allocations: 75.69 kB / 1.01 GB, free: 222.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/2.451, allocations: 366.1 kB / 1.01 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001331/2.452, allocations: 333.6 kB / 1.01 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004679/2.453, allocations: 134.2 kB / 1.01 GB, free: 222.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006382/2.459, allocations: 3.424 MB / 1.014 GB, free: 221.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/2.459, allocations: 0 / 1.014 GB, free: 221.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01131/2.471, allocations: 3.238 MB / 1.017 GB, free: 221 MB / 0.67 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.02385/2.494, allocations: 14.9 MB / 1.031 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.512, allocations: 9.517 MB / 1.041 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.512, allocations: 7.828 kB / 1.041 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0094/2.522, allocations: 4.109 MB / 1.045 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009015/2.531, allocations: 1.265 MB / 1.046 GB, free: 203.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/2.681, allocations: 77.93 MB / 1.122 GB, free: 122.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01659/2.697, allocations: 9.003 MB / 1.131 GB, free: 113 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007927/2.705, allocations: 2.873 MB / 1.134 GB, free: 110.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008201/2.713, allocations: 4.697 MB / 1.138 GB, free: 105.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.513e-06/2.713, allocations: 4 kB / 1.138 GB, free: 105.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5606/3.274, allocations: 184.2 MB / 1.318 GB, free: 198.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.85/29.13, allocations: 12.08 kB / 1.318 GB, free: 198.7 MB / 0.6857 GB " [Timeout remaining time 631] (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/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) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 38.975215181999374]