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.001255/0.001255, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001486/0.001486, allocations: 206.8 kB / 23.73 MB, free: 4.523 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2419/0.2419, allocations: 46.97 MB / 360.9 MB, free: 4.047 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.002112/0.002112, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 66.04 MB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02385/0.3641, allocations: 19.54 MB / 0.5797 GB, free: 496 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.3763, allocations: 5.393 MB / 0.5849 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004275/0.3806, allocations: 230.8 kB / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02201/0.4026, allocations: 8.834 MB / 0.5938 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008916/0.4115, allocations: 2.206 MB / 0.5959 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006175/0.4177, allocations: 1.875 MB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01822/0.4359, allocations: 14.54 MB / 0.612 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03864/0.4745, allocations: 21.3 MB / 0.6328 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/0.4863, allocations: 8.16 MB / 0.6407 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.5008, allocations: 8.807 MB / 0.6493 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005376/0.5061, allocations: 2.102 MB / 0.6514 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007434/0.5136, allocations: 2.343 MB / 0.6537 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00711/0.5207, allocations: 4.333 MB / 0.6579 GB, free: 0 / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.013/0.5337, allocations: 6.588 MB / 0.6643 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03713/0.5708, allocations: 28.91 MB / 0.6926 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5708, allocations: 0 / 0.6926 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5708, allocations: 0 / 0.6926 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006835/0.5715, allocations: 4 kB / 0.6926 GB, free: 12.38 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.06058/0.6321, allocations: 18.94 MB / 0.7111 GB, free: 9.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6321, allocations: 8.031 kB / 0.7111 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0067/0.6388, allocations: 2.013 MB / 0.713 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06167/0.7005, allocations: 11.48 MB / 0.7243 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/0.723, allocations: 9.052 MB / 0.7331 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/0.7241, allocations: 1.063 MB / 0.7341 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/0.7294, allocations: 1.375 MB / 0.7355 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6179/1.347, allocations: 23.93 MB / 0.7588 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001127/1.348, allocations: 25.62 kB / 0.7589 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006792/1.355, allocations: 0.5697 MB / 0.7594 GB, free: 124.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008303/1.356, allocations: 0.7037 MB / 0.7601 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04228/1.398, allocations: 21.65 MB / 0.7813 GB, free: 102 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1217/1.52, allocations: 63.34 MB / 0.8431 GB, free: 38.63 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/1.537, allocations: 11.34 MB / 0.8542 GB, free: 28.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006901/1.544, allocations: 4.504 MB / 0.8586 GB, free: 24.17 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03073/1.575, allocations: 14.35 MB / 0.8726 GB, free: 9.996 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/1.575, allocations: 78.11 kB / 0.8727 GB, free: 9.91 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.032e-05/1.575, allocations: 0 / 0.8727 GB, free: 9.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03784/1.613, allocations: 15.44 MB / 0.8878 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.613, allocations: 124.7 kB / 0.8879 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.623, allocations: 5.296 MB / 0.893 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.624, allocations: 97.7 kB / 0.8931 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005532/1.63, allocations: 6.107 MB / 0.8991 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002773/1.633, allocations: 1.666 MB / 0.9007 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004789/1.638, allocations: 1.559 MB / 0.9023 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.638, allocations: 301.1 kB / 0.9025 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007405/1.645, allocations: 4.148 MB / 0.9066 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.656, allocations: 7.274 MB / 0.9137 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02043/1.676, allocations: 11.95 MB / 0.9254 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001693/1.676, allocations: 28 kB / 0.9254 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02885/1.705, allocations: 13.08 MB / 0.9382 GB, free: 4.398 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.705, allocations: 55.98 kB / 0.9382 GB, free: 4.344 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.705, allocations: 104 kB / 0.9383 GB, free: 4.242 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007308/1.713, allocations: 3.083 MB / 0.9413 GB, free: 1.148 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006906/1.72, allocations: 1.607 MB / 0.9429 GB, free: 15.54 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/1.721, allocations: 339 kB / 0.9432 GB, free: 15.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/1.728, allocations: 1.075 MB / 0.9443 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.729, allocations: 384 kB / 0.9446 GB, free: 13.74 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.01316/1.743, allocations: 5.397 MB / 0.9499 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/1.745, allocations: 0.5161 MB / 0.9504 GB, free: 7.809 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/1.765, allocations: 9.549 MB / 0.9597 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/1.765, allocations: 51.94 kB / 0.9598 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/1.765, allocations: 0 / 0.9598 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-05/1.765, allocations: 23.91 kB / 0.9598 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05237/1.818, allocations: 20.07 MB / 0.9794 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.818, allocations: 0 / 0.9794 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/1.822, allocations: 0.7449 MB / 0.9801 GB, free: 9.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007057/1.829, allocations: 2.965 MB / 0.983 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008743/1.83, allocations: 104 kB / 0.9831 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/1.83, allocations: 146.5 kB / 0.9833 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.83, allocations: 0 / 0.9833 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.333/2.163, allocations: 14.2 MB / 0.9971 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00379/2.167, allocations: 1.363 MB / 0.9985 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/2.168, allocations: 79.56 kB / 0.9985 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/2.171, allocations: 365.5 kB / 0.9989 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006601/2.172, allocations: 334.6 kB / 0.9992 GB, free: 221.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/2.172, allocations: 133.6 kB / 0.9993 GB, free: 221.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00438/2.176, allocations: 3.427 MB / 1.003 GB, free: 220.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/2.176, allocations: 0 / 1.003 GB, free: 220.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007803/2.184, allocations: 3.234 MB / 1.006 GB, free: 219.9 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.02084/2.205, allocations: 14.91 MB / 1.02 GB, free: 213.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01586/2.221, allocations: 9.516 MB / 1.03 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.221, allocations: 0 / 1.03 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007213/2.228, allocations: 4.112 MB / 1.034 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005513/2.234, allocations: 1.278 MB / 1.035 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/2.352, allocations: 77.9 MB / 1.111 GB, free: 125.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01667/2.369, allocations: 8.629 MB / 1.119 GB, free: 117.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007222/2.376, allocations: 2.877 MB / 1.122 GB, free: 114.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007193/2.383, allocations: 4.693 MB / 1.127 GB, free: 109.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.703e-06/2.383, allocations: 4 kB / 1.127 GB, free: 109.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5357/2.919, allocations: 175.5 MB / 1.298 GB, free: 209.4 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/23.63, allocations: 4.688 kB / 1.298 GB, free: 209.4 MB / 0.6857 GB " [Timeout remaining time 636] (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: 30.52712364998297]