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.001273/0.001273, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002027/0.002027, allocations: 212.9 kB / 23.74 MB, free: 4.656 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.237/0.237, allocations: 46.95 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.002235/0.002235, allocations: 63.89 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 66.03 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02622/0.3707, allocations: 22.86 MB / 0.583 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3837, allocations: 5.545 MB / 0.5884 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004543/0.3882, allocations: 238.8 kB / 0.5886 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02196/0.4102, allocations: 9.59 MB / 0.598 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.4186, allocations: 2.21 MB / 0.6001 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005766/0.4244, allocations: 1.937 MB / 0.602 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02022/0.4446, allocations: 14.54 MB / 0.6162 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04541/0.49, allocations: 21.3 MB / 0.637 GB, free: 5.855 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0147/0.5047, allocations: 8.152 MB / 0.645 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01707/0.5218, allocations: 8.803 MB / 0.6536 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006014/0.5278, allocations: 2.098 MB / 0.6556 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008082/0.5359, allocations: 2.355 MB / 0.6579 GB, free: 408 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007309/0.5432, allocations: 4.333 MB / 0.6622 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01822/0.5614, allocations: 8.432 MB / 0.6704 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04069/0.6021, allocations: 28.78 MB / 0.6985 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6021, allocations: 0 / 0.6985 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6021, allocations: 0 / 0.6985 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008608/0.6029, allocations: 0 / 0.6985 GB, free: 6.719 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.06557/0.6685, allocations: 18.93 MB / 0.717 GB, free: 3.676 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.6686, allocations: 12.03 kB / 0.717 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008363/0.6769, allocations: 2.013 MB / 0.719 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06287/0.7398, allocations: 11.48 MB / 0.7302 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5124/1.252, allocations: 9.05 MB / 0.739 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009103/1.253, allocations: 1.055 MB / 0.7401 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00513/1.258, allocations: 1.37 MB / 0.7414 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05936/1.318, allocations: 23.64 MB / 0.7645 GB, free: 120 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006637/1.318, allocations: 14.3 kB / 0.7645 GB, free: 120 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004768/1.323, allocations: 0.5775 MB / 0.7651 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006601/1.324, allocations: 0.7009 MB / 0.7657 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04156/1.365, allocations: 21.74 MB / 0.787 GB, free: 97.11 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1101/1.475, allocations: 69.74 MB / 0.8551 GB, free: 27.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/1.492, allocations: 11.41 MB / 0.8662 GB, free: 17.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006032/1.498, allocations: 4.512 MB / 0.8706 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02666/1.524, allocations: 15.28 MB / 0.8855 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.915e-05/1.524, allocations: 78.11 kB / 0.8856 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.524e-06/1.524, allocations: 0 / 0.8856 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03956/1.564, allocations: 15.45 MB / 0.9007 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/1.564, allocations: 128.6 kB / 0.9008 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009369/1.573, allocations: 5.115 MB / 0.9058 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.574, allocations: 101.6 kB / 0.9059 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005128/1.58, allocations: 6.098 MB / 0.9119 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00251/1.582, allocations: 1.666 MB / 0.9135 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002674/1.585, allocations: 1.551 MB / 0.915 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.585, allocations: 309.1 kB / 0.9153 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006755/1.592, allocations: 4.152 MB / 0.9194 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.602, allocations: 7.27 MB / 0.9265 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/1.622, allocations: 11.95 MB / 0.9381 GB, free: 5.129 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/1.622, allocations: 35.94 kB / 0.9382 GB, free: 5.094 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02901/1.651, allocations: 13.08 MB / 0.9509 GB, free: 7.988 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.651, allocations: 52 kB / 0.951 GB, free: 7.938 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/1.651, allocations: 104.9 kB / 0.9511 GB, free: 7.836 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007322/1.659, allocations: 3.09 MB / 0.9541 GB, free: 4.738 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00637/1.665, allocations: 1.599 MB / 0.9557 GB, free: 3.137 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009368/1.666, allocations: 343 kB / 0.956 GB, free: 2.789 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/1.672, allocations: 1.067 MB / 0.957 GB, free: 1.715 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/1.674, allocations: 388 kB / 0.9574 GB, free: 1.336 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.01249/1.687, allocations: 5.398 MB / 0.9627 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/1.689, allocations: 0.5239 MB / 0.9632 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/1.709, allocations: 9.541 MB / 0.9725 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/1.709, allocations: 51.94 kB / 0.9726 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.709, allocations: 0 / 0.9726 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.241e-05/1.709, allocations: 23.91 kB / 0.9726 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3526/2.062, allocations: 20.87 MB / 0.993 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/2.062, allocations: 0 / 0.993 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/2.065, allocations: 0.7477 MB / 0.9937 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/2.07, allocations: 2.969 MB / 0.9966 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006073/2.071, allocations: 105 kB / 0.9967 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005498/2.071, allocations: 145.7 kB / 0.9968 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.071, allocations: 0 / 0.9968 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/2.088, allocations: 14.19 MB / 1.011 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/2.091, allocations: 1.369 MB / 1.012 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009348/2.092, allocations: 83.5 kB / 1.012 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/2.095, allocations: 360.2 kB / 1.012 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/2.096, allocations: 336.4 kB / 1.013 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/2.096, allocations: 141.1 kB / 1.013 GB, free: 213.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004005/2.1, allocations: 3.424 MB / 1.016 GB, free: 212.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.1, allocations: 0 / 1.016 GB, free: 212.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007604/2.107, allocations: 3.236 MB / 1.019 GB, free: 211.6 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.01738/2.125, allocations: 14.92 MB / 1.034 GB, free: 205.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01458/2.139, allocations: 9.513 MB / 1.043 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/2.139, allocations: 0 / 1.043 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007263/2.147, allocations: 4.107 MB / 1.047 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008702/2.155, allocations: 1.269 MB / 1.049 GB, free: 194.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/2.259, allocations: 77.92 MB / 1.125 GB, free: 113.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009839/2.269, allocations: 9.01 MB / 1.133 GB, free: 104.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006034/2.275, allocations: 2.873 MB / 1.136 GB, free: 101.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00597/2.281, allocations: 4.697 MB / 1.141 GB, free: 96.53 MB / 0.67 GB Notification: Performance of SimCode: time 1.212e-06/2.281, allocations: 0 / 1.141 GB, free: 96.53 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5158/2.797, allocations: 184.2 MB / 1.321 GB, free: 182.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.7/27.5, allocations: 7.859 kB / 1.321 GB, free: 182.3 MB / 0.6857 GB " [Timeout remaining time 632] (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.610782879870385]