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.001514/0.001514, allocations: 113 kB / 18.49 MB, free: 4.539 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.001675/0.001675, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.56/1.56, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2344/0.2344, allocations: 44.9 MB / 355.8 MB, free: 12.3 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.001959/0.001959, allocations: 72.17 kB / 0.4885 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.139, allocations: 65.43 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02678/0.1658, allocations: 22.83 MB / 0.5747 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.181, allocations: 5.541 MB / 0.5801 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005502/0.1865, allocations: 230.8 kB / 0.5804 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02362/0.2101, allocations: 9.571 MB / 0.5897 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.2209, allocations: 2.159 MB / 0.5918 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3222/0.5431, allocations: 1.905 MB / 0.5937 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02057/0.5637, allocations: 14.46 MB / 0.6078 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0502/0.6139, allocations: 26.21 MB / 0.6334 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01829/0.6321, allocations: 8.129 MB / 0.6413 GB, free: 1.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02676/0.6589, allocations: 8.887 MB / 0.65 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01058/0.6695, allocations: 2.098 MB / 0.6521 GB, free: 8.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.6816, allocations: 2.36 MB / 0.6544 GB, free: 5.871 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01192/0.6935, allocations: 4.336 MB / 0.6586 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02486/0.7184, allocations: 8.427 MB / 0.6668 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04225/0.7606, allocations: 28.77 MB / 0.6949 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7607, allocations: 0 / 0.6949 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7607, allocations: 0 / 0.6949 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.00106/0.7617, allocations: 0 / 0.6949 GB, free: 14.03 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.07406/0.8358, allocations: 19.01 MB / 0.7135 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.8358, allocations: 16.02 kB / 0.7135 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005416/0.8364, allocations: 381.1 kB / 0.7139 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009361/0.8457, allocations: 2.013 MB / 0.7158 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0646/0.9103, allocations: 11.48 MB / 0.7271 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02368/0.934, allocations: 8.896 MB / 0.7357 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/0.9356, allocations: 1.06 MB / 0.7368 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006641/0.9422, allocations: 1.376 MB / 0.7381 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06683/1.009, allocations: 23.63 MB / 0.7612 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007024/1.01, allocations: 19.89 kB / 0.7612 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006511/1.016, allocations: 0.5713 MB / 0.7618 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009307/1.017, allocations: 0.705 MB / 0.7625 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05311/1.07, allocations: 21.74 MB / 0.7837 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8419/1.912, allocations: 72.03 MB / 0.854 GB, free: 166 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03927/1.952, allocations: 28.07 MB / 0.8814 GB, free: 144.8 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01232/1.964, allocations: 4.511 MB / 0.8858 GB, free: 144.8 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04002/2.004, allocations: 16.56 MB / 0.902 GB, free: 138.3 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/2.004, allocations: 85.34 kB / 0.9021 GB, free: 138.2 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 1.039e-05/2.004, allocations: 0 / 0.9021 GB, free: 138.2 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03674/2.041, allocations: 15.68 MB / 0.9174 GB, free: 131.4 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/2.041, allocations: 126 kB / 0.9175 GB, free: 131.3 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009144/2.05, allocations: 5.114 MB / 0.9225 GB, free: 128.7 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/2.051, allocations: 97.52 kB / 0.9226 GB, free: 128.6 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003559/2.054, allocations: 6.102 MB / 0.9286 GB, free: 124.3 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002167/2.057, allocations: 1.666 MB / 0.9302 GB, free: 123 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004225/2.061, allocations: 1.556 MB / 0.9317 GB, free: 122.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/2.061, allocations: 301.1 kB / 0.932 GB, free: 121.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005783/2.067, allocations: 4.152 MB / 0.9361 GB, free: 119.6 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00775/2.074, allocations: 7.273 MB / 0.9432 GB, free: 113.2 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.088, allocations: 11.96 MB / 0.9548 GB, free: 102.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.874e-05/2.088, allocations: 28 kB / 0.9549 GB, free: 102.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02056/2.108, allocations: 13.08 MB / 0.9676 GB, free: 89.69 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/2.108, allocations: 49 kB / 0.9677 GB, free: 89.64 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/2.108, allocations: 104 kB / 0.9678 GB, free: 89.54 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005695/2.114, allocations: 3.106 MB / 0.9708 GB, free: 86.42 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/2.12, allocations: 1.595 MB / 0.9724 GB, free: 84.82 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009225/2.121, allocations: 342.9 kB / 0.9727 GB, free: 84.48 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/2.129, allocations: 1.079 MB / 0.9738 GB, free: 83.39 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/2.131, allocations: 387.9 kB / 0.9741 GB, free: 83.02 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.01036/2.141, allocations: 5.388 MB / 0.9794 GB, free: 77.61 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.143, allocations: 0.5161 MB / 0.9799 GB, free: 77.09 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/2.157, allocations: 9.557 MB / 0.9892 GB, free: 67.5 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/2.157, allocations: 48 kB / 0.9893 GB, free: 67.45 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/2.157, allocations: 0 / 0.9893 GB, free: 67.45 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/2.157, allocations: 19.92 kB / 0.9893 GB, free: 67.43 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03496/2.192, allocations: 20.74 MB / 1.01 GB, free: 46.72 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/2.192, allocations: 3.938 kB / 1.01 GB, free: 46.71 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/2.196, allocations: 0.7333 MB / 1.01 GB, free: 45.98 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008525/2.204, allocations: 2.969 MB / 1.013 GB, free: 43 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001641/2.206, allocations: 99.97 kB / 1.013 GB, free: 42.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009501/2.207, allocations: 154.4 kB / 1.013 GB, free: 42.74 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.207, allocations: 3.938 kB / 1.013 GB, free: 42.74 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03545/2.242, allocations: 14.19 MB / 1.027 GB, free: 28.52 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00632/2.248, allocations: 1.391 MB / 1.029 GB, free: 27.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/2.251, allocations: 76 kB / 1.029 GB, free: 27.03 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006068/2.257, allocations: 371.5 kB / 1.029 GB, free: 26.66 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.258, allocations: 319.3 kB / 1.029 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006057/2.259, allocations: 136 kB / 1.029 GB, free: 26.22 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008147/2.267, allocations: 3.423 MB / 1.033 GB, free: 22.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 4.81e-07/2.267, allocations: 4 kB / 1.033 GB, free: 22.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01244/2.279, allocations: 3.23 MB / 1.036 GB, free: 19.55 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.01873/2.298, allocations: 14.91 MB / 1.051 GB, free: 4.602 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01715/2.315, allocations: 9.512 MB / 1.06 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.315, allocations: 0.9375 kB / 1.06 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009149/2.324, allocations: 4.122 MB / 1.064 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006925/2.331, allocations: 1.269 MB / 1.065 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4865/2.818, allocations: 77.69 MB / 1.141 GB, free: 193.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0144/2.832, allocations: 9.008 MB / 1.15 GB, free: 188.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007832/2.84, allocations: 2.868 MB / 1.153 GB, free: 186.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007351/2.847, allocations: 4.701 MB / 1.157 GB, free: 181.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/2.847, allocations: 0 / 1.157 GB, free: 181.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/3.075, allocations: 180.5 MB / 1.333 GB, free: 2.113 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/27.25, allocations: 11.92 kB / 1.333 GB, free: 2.102 MB / 0.67 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/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: 37.68966183101293]