Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 123.9 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_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_0_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.001466/0.001466, allocations: 47.92 kB / 365.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08989, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01444/0.1043, allocations: 11.86 MB / 429.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1149, allocations: 3.743 MB / 433.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.1167, allocations: 71.75 kB / 433.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.1193, allocations: 0.9202 MB / 434.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.1234, allocations: 1.134 MB / 435.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1247, allocations: 487.3 kB / 436 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005217/0.1299, allocations: 4.232 MB / 440.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.133, allocations: 2.395 MB / 442.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.1355, allocations: 1.908 MB / 444.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1926/0.3282, allocations: 2.384 MB / 446.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.3293, allocations: 0.496 MB / 447.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3308, allocations: 0.5861 MB / 448 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.332, allocations: 1.413 MB / 449.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.335, allocations: 2.207 MB / 451.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009214/0.3442, allocations: 6.568 MB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3442, allocations: 0 / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3442, allocations: 1.125 kB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002172/0.3444, allocations: 0 / 458.2 MB, free: 10.21 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.01291/0.3574, allocations: 4.401 MB / 462.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3574, allocations: 12.03 kB / 462.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.3586, allocations: 437.8 kB / 463 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.3604, allocations: 458.9 kB / 463.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.3661, allocations: 2.415 MB / 465.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.3663, allocations: 242 kB / 466.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.3675, allocations: 308.9 kB / 466.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.3783, allocations: 4.363 MB / 470.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.544e-05/0.3784, allocations: 11.09 kB / 470.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.3787, allocations: 126.7 kB / 470.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.3789, allocations: 133.7 kB / 471.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006765/0.3856, allocations: 3.779 MB / 474.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.4103, allocations: 13.41 MB / 488.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.4137, allocations: 2.768 MB / 491 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.4162, allocations: 1.581 MB / 492.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.4165, allocations: 128.3 kB / 492.7 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.4165, allocations: 51.53 kB / 492.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.397e-06/0.4165, allocations: 0 / 492.8 MB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.01888/0.4354, allocations: 9.032 MB / 0.4901 GB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.4355, allocations: 73.41 kB / 0.4901 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.4395, allocations: 2.35 MB / 0.4924 GB, free: 12.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.4399, allocations: 61.69 kB / 0.4925 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.4411, allocations: 1.496 MB / 0.4939 GB, free: 10.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/0.4418, allocations: 0.6357 MB / 0.4946 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000682/0.4425, allocations: 371.4 kB / 0.4949 GB, free: 9.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4427, allocations: 305.1 kB / 0.4952 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.4446, allocations: 1.128 MB / 0.4963 GB, free: 8.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.4468, allocations: 1.57 MB / 0.4978 GB, free: 6.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/0.451, allocations: 2.785 MB / 0.5006 GB, free: 3.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.451, allocations: 4 kB / 0.5006 GB, free: 3.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006957/0.458, allocations: 3.586 MB / 0.5041 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/0.458, allocations: 11.98 kB / 0.5041 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.4581, allocations: 19.31 kB / 0.5041 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.4602, allocations: 0.8022 MB / 0.5049 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.4622, allocations: 459.7 kB / 0.5053 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4741, allocations: 11.17 MB / 0.5162 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.4768, allocations: 131.9 kB / 0.5163 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.4771, allocations: 79.17 kB / 0.5164 GB, free: 2.559 MB / 414.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.002472/0.4796, allocations: 1.087 MB / 0.5175 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/0.4804, allocations: 258.3 kB / 0.5177 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/0.4866, allocations: 3.285 MB / 0.5209 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4866, allocations: 20 kB / 0.521 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.4867, allocations: 8 kB / 0.521 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.4867, allocations: 7.969 kB / 0.521 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.5006, allocations: 6.826 MB / 0.5276 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5006, allocations: 8.203 kB / 0.5276 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.5019, allocations: 293.6 kB / 0.5279 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.5044, allocations: 0.9236 MB / 0.5288 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.5046, allocations: 39.98 kB / 0.5289 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.5198, allocations: 14.62 MB / 0.5431 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5198, allocations: 11.53 kB / 0.5432 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008711/0.5286, allocations: 4.854 MB / 0.5479 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.5307, allocations: 0.5774 MB / 0.5485 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000787/0.5315, allocations: 47.86 kB / 0.5485 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.5331, allocations: 123.8 kB / 0.5486 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/0.5336, allocations: 157.1 kB / 0.5488 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.5337, allocations: 47.98 kB / 0.5488 GB, free: 368 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002996/0.5367, allocations: 1.626 MB / 0.5504 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5367, allocations: 0 / 0.5504 GB, free: 14.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0041/0.5408, allocations: 0.711 MB / 0.5511 GB, free: 14.01 MB / 462.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.009301/0.5501, allocations: 5.508 MB / 0.5565 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005689/0.5558, allocations: 3.477 MB / 0.5599 GB, free: 4.926 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5558, allocations: 4 kB / 0.5599 GB, free: 4.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/0.5597, allocations: 2.427 MB / 0.5622 GB, free: 2.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/0.5633, allocations: 0.7166 MB / 0.5629 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/0.6114, allocations: 26.31 MB / 0.5886 GB, free: 6.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.6142, allocations: 2.513 MB / 0.5911 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00205/0.6163, allocations: 0.5944 MB / 0.5917 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/0.6184, allocations: 1.257 MB / 0.5929 GB, free: 2.512 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6184, allocations: 3.094 kB / 0.5929 GB, free: 2.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3641/0.9824, allocations: 67.17 MB / 0.6585 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.67, allocations: 9.062 kB / 0.6585 GB, free: 167.1 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.411498398985714]