Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001857/0.001857, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002141/0.002141, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.509/1.509, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 0.4909 GB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1434, allocations: 65.99 MB / 0.5554 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02634/0.1698, allocations: 22.83 MB / 0.5777 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.1823, allocations: 5.533 MB / 0.5831 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/0.1869, allocations: 230.8 kB / 0.5833 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3154/0.5023, allocations: 9.574 MB / 0.5926 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009088/0.5114, allocations: 2.156 MB / 0.5947 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.5179, allocations: 1.909 MB / 0.5966 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02375/0.5417, allocations: 14.47 MB / 0.6107 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04757/0.5892, allocations: 26.21 MB / 0.6363 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02497/0.6142, allocations: 8.707 MB / 0.6448 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/0.6322, allocations: 8.79 MB / 0.6534 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007077/0.6392, allocations: 2.102 MB / 0.6555 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.6499, allocations: 2.352 MB / 0.6578 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008661/0.6586, allocations: 4.339 MB / 0.662 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02028/0.6788, allocations: 8.423 MB / 0.6702 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04405/0.7229, allocations: 28.77 MB / 0.6983 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7229, allocations: 0 / 0.6983 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7229, allocations: 0 / 0.6983 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001015/0.7239, allocations: 0 / 0.6983 GB, free: 10.34 MB / 0.5137 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.06677/0.7907, allocations: 19.01 MB / 0.7169 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.7907, allocations: 8.031 kB / 0.7169 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008468/0.7992, allocations: 2.015 MB / 0.7189 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06373/0.8629, allocations: 11.48 MB / 0.7301 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.8833, allocations: 8.897 MB / 0.7388 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/0.8846, allocations: 1.056 MB / 0.7398 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007969/0.8925, allocations: 1.383 MB / 0.7412 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06536/0.9579, allocations: 23.63 MB / 0.7642 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005961/0.9585, allocations: 19.91 kB / 0.7642 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005215/0.9637, allocations: 0.565 MB / 0.7648 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008354/0.9646, allocations: 0.7056 MB / 0.7655 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05062/1.015, allocations: 21.74 MB / 0.7867 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7059/1.721, allocations: 72.02 MB / 0.8571 GB, free: 159.2 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02466/1.746, allocations: 28.09 MB / 0.8845 GB, free: 137.9 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007772/1.753, allocations: 4.519 MB / 0.8889 GB, free: 137.9 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02986/1.783, allocations: 16.55 MB / 0.9051 GB, free: 130.8 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/1.783, allocations: 77.55 kB / 0.9051 GB, free: 130.7 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.803e-06/1.783, allocations: 0 / 0.9051 GB, free: 130.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03414/1.818, allocations: 15.68 MB / 0.9204 GB, free: 123.9 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/1.818, allocations: 126.6 kB / 0.9206 GB, free: 123.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006813/1.824, allocations: 5.122 MB / 0.9256 GB, free: 121.2 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009006/1.825, allocations: 97.58 kB / 0.9257 GB, free: 121.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003626/1.829, allocations: 6.103 MB / 0.9316 GB, free: 116.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.831, allocations: 1.659 MB / 0.9332 GB, free: 115.5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/1.833, allocations: 1.558 MB / 0.9348 GB, free: 114.6 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.833, allocations: 308.3 kB / 0.9351 GB, free: 114.3 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005771/1.839, allocations: 4.148 MB / 0.9391 GB, free: 112.1 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007493/1.847, allocations: 7.273 MB / 0.9462 GB, free: 105.7 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/1.86, allocations: 11.95 MB / 0.9579 GB, free: 95.61 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.86, allocations: 32 kB / 0.9579 GB, free: 95.57 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02317/1.883, allocations: 13.08 MB / 0.9707 GB, free: 82.47 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/1.883, allocations: 52.97 kB / 0.9707 GB, free: 82.42 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/1.884, allocations: 104 kB / 0.9708 GB, free: 82.32 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006458/1.89, allocations: 3.094 MB / 0.9739 GB, free: 79.21 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/1.896, allocations: 1.603 MB / 0.9754 GB, free: 77.61 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/1.897, allocations: 339 kB / 0.9757 GB, free: 77.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007061/1.904, allocations: 1.071 MB / 0.9768 GB, free: 76.19 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.906, allocations: 391.9 kB / 0.9772 GB, free: 75.8 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.01061/1.917, allocations: 5.388 MB / 0.9824 GB, free: 70.4 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/1.919, allocations: 0.5201 MB / 0.9829 GB, free: 69.88 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.936, allocations: 9.553 MB / 0.9923 GB, free: 60.29 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.936, allocations: 48 kB / 0.9923 GB, free: 60.25 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/1.936, allocations: 0 / 0.9923 GB, free: 60.25 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-05/1.937, allocations: 23.91 kB / 0.9923 GB, free: 60.22 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03769/1.974, allocations: 20.73 MB / 1.013 GB, free: 39.51 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.974, allocations: 0 / 1.013 GB, free: 39.51 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/1.977, allocations: 0.7372 MB / 1.013 GB, free: 38.77 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005574/1.983, allocations: 2.973 MB / 1.016 GB, free: 35.78 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000879/1.984, allocations: 108 kB / 1.016 GB, free: 35.68 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006272/1.984, allocations: 150.3 kB / 1.016 GB, free: 35.52 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.984, allocations: 0 / 1.016 GB, free: 35.52 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/2.002, allocations: 14.19 MB / 1.03 GB, free: 21.3 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/2.005, allocations: 1.387 MB / 1.032 GB, free: 19.89 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/2.006, allocations: 80 kB / 1.032 GB, free: 19.81 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/2.009, allocations: 359.6 kB / 1.032 GB, free: 19.46 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/2.01, allocations: 331.2 kB / 1.032 GB, free: 19.13 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/2.01, allocations: 140 kB / 1.033 GB, free: 19 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.004736/2.015, allocations: 3.423 MB / 1.036 GB, free: 15.58 MB / 0.6388 GB Notification: Performance of sort global known variables: time 4.01e-07/2.015, allocations: 0 / 1.036 GB, free: 15.58 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.008736/2.024, allocations: 3.238 MB / 1.039 GB, free: 12.33 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.01943/2.043, allocations: 14.9 MB / 1.054 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02089/2.064, allocations: 9.52 MB / 1.063 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/2.064, allocations: 0 / 1.063 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0106/2.075, allocations: 4.119 MB / 1.067 GB, free: 15.72 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008286/2.083, allocations: 1.262 MB / 1.068 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4531/2.536, allocations: 77.68 MB / 1.144 GB, free: 208.6 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/2.549, allocations: 9.013 MB / 1.153 GB, free: 203.4 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.00632/2.555, allocations: 2.871 MB / 1.156 GB, free: 202.2 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006399/2.561, allocations: 4.697 MB / 1.16 GB, free: 197.8 MB / 0.6857 GB Notification: Performance of SimCode: time 1.272e-06/2.561, allocations: 3.094 kB / 1.16 GB, free: 197.8 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2403/2.802, allocations: 180.4 MB / 1.336 GB, free: 19.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.27/27.07, allocations: 7.578 kB / 1.336 GB, free: 19.3 MB / 0.6857 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.420095851877704]