Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001791/0.001791, 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.002194/0.002194, 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.461/1.461, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1032, allocations: 53.34 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.2157/0.3188, allocations: 11.91 MB / 438.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007634/0.3265, allocations: 3.838 MB / 442.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.3291, allocations: 92.47 kB / 442.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.3323, allocations: 0.9229 MB / 443.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.3375, allocations: 1.134 MB / 444.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.3393, allocations: 0.5031 MB / 444.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007724/0.347, allocations: 4.247 MB / 449 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005111/0.3521, allocations: 2.398 MB / 451.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/0.3568, allocations: 1.959 MB / 453.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00551/0.3623, allocations: 2.392 MB / 455.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001974/0.3643, allocations: 0.4941 MB / 456.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.3675, allocations: 0.5995 MB / 456.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00319/0.3707, allocations: 1.411 MB / 458.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00648/0.3772, allocations: 2.215 MB / 460.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.3896, allocations: 6.589 MB / 467 MB, free: 5.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3896, allocations: 0 / 467 MB, free: 5.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3896, allocations: 1.125 kB / 467 MB, free: 5.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.3899, allocations: 5.344 kB / 467 MB, free: 5.062 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01579/0.4056, allocations: 4.421 MB / 471.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4057, allocations: 9.031 kB / 471.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0015/0.4072, allocations: 439.7 kB / 471.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.4098, allocations: 494.8 kB / 472.4 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006418/0.4162, allocations: 2.432 MB / 474.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.4165, allocations: 226.5 kB / 475 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.4178, allocations: 305 kB / 475.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.429, allocations: 4.378 MB / 479.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.4292, allocations: 11.95 kB / 479.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006373/0.4298, allocations: 131.9 kB / 479.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.43, allocations: 130 kB / 480 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009108/0.4391, allocations: 3.779 MB / 483.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/0.4695, allocations: 13.42 MB / 497.2 MB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.4737, allocations: 2.753 MB / 499.9 MB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/0.4771, allocations: 1.575 MB / 0.4897 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.4775, allocations: 130.4 kB / 0.4899 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.4775, allocations: 51.88 kB / 0.4899 GB, free: 4.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.767e-06/0.4775, allocations: 0 / 0.4899 GB, free: 4.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02273/0.5002, allocations: 9.029 MB / 0.4987 GB, free: 11.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.5003, allocations: 69.41 kB / 0.4988 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004214/0.5045, allocations: 2.382 MB / 0.5011 GB, free: 9.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/0.5049, allocations: 57.7 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.5062, allocations: 1.497 MB / 0.5026 GB, free: 7.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008269/0.5071, allocations: 0.6352 MB / 0.5033 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/0.5078, allocations: 371.5 kB / 0.5036 GB, free: 6.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5079, allocations: 301.1 kB / 0.5039 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.51, allocations: 1.124 MB / 0.505 GB, free: 5.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.5124, allocations: 1.571 MB / 0.5065 GB, free: 3.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.5169, allocations: 2.788 MB / 0.5093 GB, free: 444 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.5169, allocations: 4 kB / 0.5093 GB, free: 440 kB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007069/0.5239, allocations: 3.594 MB / 0.5128 GB, free: 12.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.524, allocations: 11.94 kB / 0.5128 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.524, allocations: 16.69 kB / 0.5128 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.5262, allocations: 0.8005 MB / 0.5136 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.5282, allocations: 455.3 kB / 0.514 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.5411, allocations: 11.18 MB / 0.5249 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.5437, allocations: 127.8 kB / 0.5251 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.5441, allocations: 75.98 kB / 0.5251 GB, free: 15.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002792/0.5469, allocations: 1.087 MB / 0.5262 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/0.548, allocations: 258.3 kB / 0.5264 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007215/0.5552, allocations: 3.293 MB / 0.5297 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.5552, allocations: 16 kB / 0.5297 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/0.5552, allocations: 8 kB / 0.5297 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.5553, allocations: 7.969 kB / 0.5297 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.5727, allocations: 6.844 MB / 0.5364 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.5727, allocations: 0 / 0.5364 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.5743, allocations: 295.5 kB / 0.5367 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.5773, allocations: 0.9264 MB / 0.5376 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/0.5776, allocations: 39.98 kB / 0.5376 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/0.5941, allocations: 14.63 MB / 0.5519 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5941, allocations: 4.062 kB / 0.5519 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.6041, allocations: 4.854 MB / 0.5566 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/0.6061, allocations: 0.5737 MB / 0.5572 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/0.6071, allocations: 47.86 kB / 0.5572 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.6094, allocations: 119.9 kB / 0.5573 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/0.6101, allocations: 161.7 kB / 0.5575 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/0.6104, allocations: 44 kB / 0.5575 GB, free: 12.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003557/0.6139, allocations: 1.641 MB / 0.5591 GB, free: 11.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6139, allocations: 0 / 0.5591 GB, free: 11.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004278/0.6182, allocations: 0.7109 MB / 0.5598 GB, free: 10.61 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/0.629, allocations: 5.519 MB / 0.5652 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007003/0.636, allocations: 3.48 MB / 0.5686 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.636, allocations: 0.8125 kB / 0.5686 GB, free: 1.434 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.6406, allocations: 2.437 MB / 0.571 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/0.6457, allocations: 0.715 MB / 0.5717 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06219/0.7079, allocations: 26.36 MB / 0.5974 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004277/0.7122, allocations: 2.522 MB / 0.5999 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002689/0.7149, allocations: 0.5906 MB / 0.6005 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002771/0.7176, allocations: 1.261 MB / 0.6017 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.7176, allocations: 0 / 0.6017 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3617/1.079, allocations: 67.47 MB / 0.6676 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.1, allocations: 15.8 kB / 0.6676 GB, free: 142.1 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.68820326286368]