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.001722/0.001722, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002286/0.002286, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.2337/0.2337, allocations: 44.93 MB / 359.6 MB, free: 6.035 MB / 286.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.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.002791/0.002791, allocations: 63.89 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4209, allocations: 65.47 MB / 0.5577 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02501/0.4459, allocations: 19.5 MB / 0.5768 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.4609, allocations: 5.378 MB / 0.582 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006324/0.4672, allocations: 238.8 kB / 0.5823 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02299/0.4902, allocations: 8.851 MB / 0.5909 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.5028, allocations: 2.183 MB / 0.593 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008534/0.5114, allocations: 1.889 MB / 0.5949 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02445/0.5358, allocations: 14.54 MB / 0.6091 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04697/0.5828, allocations: 21.3 MB / 0.6299 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.5987, allocations: 8.16 MB / 0.6378 GB, free: 5.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01776/0.6165, allocations: 8.799 MB / 0.6464 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008268/0.6247, allocations: 2.102 MB / 0.6485 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009909/0.6346, allocations: 2.347 MB / 0.6508 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008955/0.6436, allocations: 4.333 MB / 0.655 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01671/0.6603, allocations: 6.588 MB / 0.6615 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04697/0.7073, allocations: 28.91 MB / 0.6897 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.7073, allocations: 0 / 0.6897 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7073, allocations: 3.938 kB / 0.6897 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001057/0.7083, allocations: 0 / 0.6897 GB, free: 15.84 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.06974/0.7781, allocations: 18.93 MB / 0.7082 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.619e-05/0.7781, allocations: 8.031 kB / 0.7082 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006186/0.7788, allocations: 381.1 kB / 0.7086 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009386/0.7882, allocations: 2.017 MB / 0.7105 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06362/0.8518, allocations: 11.48 MB / 0.7217 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/0.8755, allocations: 9.047 MB / 0.7306 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001449/0.8769, allocations: 1.063 MB / 0.7316 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006902/0.8838, allocations: 1.371 MB / 0.7329 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6472/1.531, allocations: 23.93 MB / 0.7563 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006786/1.532, allocations: 20.58 kB / 0.7563 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005845/1.538, allocations: 0.5756 MB / 0.7569 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006549/1.538, allocations: 0.6977 MB / 0.7576 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04378/1.582, allocations: 21.75 MB / 0.7788 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.699, allocations: 63.34 MB / 0.8407 GB, free: 44.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/1.716, allocations: 11.34 MB / 0.8518 GB, free: 34.28 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006685/1.723, allocations: 4.504 MB / 0.8561 GB, free: 29.75 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/1.746, allocations: 14.35 MB / 0.8702 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/1.746, allocations: 86.03 kB / 0.8702 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.416e-06/1.746, allocations: 4 kB / 0.8702 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03199/1.778, allocations: 15.44 MB / 0.8853 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.778, allocations: 124.7 kB / 0.8854 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008749/1.787, allocations: 5.112 MB / 0.8904 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009852/1.788, allocations: 97.7 kB / 0.8905 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00561/1.794, allocations: 6.106 MB / 0.8965 GB, free: 5.07 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003154/1.797, allocations: 1.658 MB / 0.8981 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003209/1.8, allocations: 1.555 MB / 0.8996 GB, free: 1.836 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.8, allocations: 309.1 kB / 0.8999 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007269/1.807, allocations: 4.144 MB / 0.904 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01142/1.819, allocations: 7.277 MB / 0.9111 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02176/1.841, allocations: 11.94 MB / 0.9227 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/1.841, allocations: 32 kB / 0.9228 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03049/1.871, allocations: 13.09 MB / 0.9356 GB, free: 10.11 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/1.871, allocations: 52 kB / 0.9356 GB, free: 10.06 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/1.872, allocations: 104 kB / 0.9357 GB, free: 9.957 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007784/1.88, allocations: 3.083 MB / 0.9387 GB, free: 6.859 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/1.886, allocations: 1.603 MB / 0.9403 GB, free: 5.254 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/1.887, allocations: 339 kB / 0.9406 GB, free: 4.914 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00736/1.895, allocations: 1.075 MB / 0.9417 GB, free: 3.832 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/1.897, allocations: 387.9 kB / 0.942 GB, free: 3.453 MB / 0.6232 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.01206/1.909, allocations: 5.397 MB / 0.9473 GB, free: 14.04 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.911, allocations: 0.5161 MB / 0.9478 GB, free: 13.52 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/1.933, allocations: 9.553 MB / 0.9571 GB, free: 3.934 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/1.933, allocations: 48 kB / 0.9572 GB, free: 3.887 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/1.933, allocations: 0 / 0.9572 GB, free: 3.887 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.162e-05/1.933, allocations: 19.92 kB / 0.9572 GB, free: 3.867 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04574/1.979, allocations: 20.08 MB / 0.9768 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.979, allocations: 0 / 0.9768 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/1.982, allocations: 0.745 MB / 0.9775 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007135/1.99, allocations: 2.973 MB / 0.9804 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.991, allocations: 104 kB / 0.9805 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/1.991, allocations: 146.4 kB / 0.9807 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.991, allocations: 4 kB / 0.9807 GB, free: 11.72 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3638/2.355, allocations: 14.17 MB / 0.9945 GB, free: 231.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003908/2.359, allocations: 1.37 MB / 0.9959 GB, free: 231.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/2.36, allocations: 83.08 kB / 0.9959 GB, free: 231.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003256/2.364, allocations: 361.9 kB / 0.9963 GB, free: 231.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008083/2.365, allocations: 341 kB / 0.9966 GB, free: 231 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/2.365, allocations: 134.1 kB / 0.9967 GB, free: 231 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005232/2.37, allocations: 3.424 MB / 1 GB, free: 229.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/2.37, allocations: 3.969 kB / 1 GB, free: 229.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009568/2.38, allocations: 3.235 MB / 1.003 GB, free: 229.5 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.0206/2.4, allocations: 14.9 MB / 1.018 GB, free: 223.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01903/2.419, allocations: 9.522 MB / 1.027 GB, free: 218.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.419, allocations: 0 / 1.027 GB, free: 218.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009745/2.429, allocations: 4.111 MB / 1.031 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009937/2.439, allocations: 1.274 MB / 1.032 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1296/2.569, allocations: 77.89 MB / 1.108 GB, free: 135.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/2.584, allocations: 8.633 MB / 1.117 GB, free: 126.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007592/2.592, allocations: 2.873 MB / 1.12 GB, free: 123.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008641/2.601, allocations: 4.697 MB / 1.124 GB, free: 118.8 MB / 0.67 GB Notification: Performance of SimCode: time 4.058e-06/2.601, allocations: 0 / 1.124 GB, free: 118.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6469/3.248, allocations: 175 MB / 1.295 GB, free: 217.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.78/29.03, allocations: 6.719 kB / 1.295 GB, free: 217.9 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.4397338120034]