Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 212.4 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 59.91 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3235, allocations: 53.42 MB / 431.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01428/0.3378, allocations: 10.42 MB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008013/0.3458, allocations: 3.639 MB / 445.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.3479, allocations: 87.44 kB / 445.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.3508, allocations: 0.8705 MB / 446.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004221/0.355, allocations: 1.146 MB / 447.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.3567, allocations: 0.5071 MB / 447.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005819/0.3625, allocations: 4.257 MB / 452.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.3662, allocations: 1.779 MB / 453.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.3703, allocations: 1.982 MB / 455.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005874/0.3761, allocations: 2.308 MB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002056/0.3782, allocations: 0.4999 MB / 458.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.3813, allocations: 0.5858 MB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002905/0.3842, allocations: 1.41 MB / 460.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004704/0.3889, allocations: 1.789 MB / 462.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3991, allocations: 6.63 MB / 469.1 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3992, allocations: 4 kB / 469.1 MB, free: 292 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3992, allocations: 0 / 469.1 MB, free: 292 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002683/0.3994, allocations: 0 / 469.1 MB, free: 292 kB / 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.01485/0.4143, allocations: 4.348 MB / 473.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/0.4143, allocations: 15.98 kB / 473.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001905/0.4163, allocations: 442.6 kB / 473.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.4192, allocations: 498.1 kB / 474.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/0.4264, allocations: 2.355 MB / 476.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.4267, allocations: 230.2 kB / 476.9 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.428, allocations: 311.9 kB / 477.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.4405, allocations: 4.599 MB / 481.8 MB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001587/0.4406, allocations: 11.89 kB / 481.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008763/0.4415, allocations: 120 kB / 482 MB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.4417, allocations: 141.9 kB / 482.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.4544, allocations: 3.767 MB / 485.9 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0359/0.4903, allocations: 12.19 MB / 498.1 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.4944, allocations: 2.078 MB / 0.4884 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.4977, allocations: 1.563 MB / 0.4899 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.498, allocations: 49.28 kB / 0.49 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.4981, allocations: 55.86 kB / 0.49 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.349e-06/0.4981, allocations: 0 / 0.49 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02174/0.5198, allocations: 8.501 MB / 0.4983 GB, free: 6.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.5199, allocations: 73.41 kB / 0.4984 GB, free: 6.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/0.5255, allocations: 2.393 MB / 0.5008 GB, free: 3.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004927/0.526, allocations: 57.7 kB / 0.5008 GB, free: 3.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.5275, allocations: 1.509 MB / 0.5023 GB, free: 2.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000972/0.5285, allocations: 0.6313 MB / 0.5029 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.5296, allocations: 367.5 kB / 0.5033 GB, free: 1.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5298, allocations: 305.1 kB / 0.5035 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.5321, allocations: 1.124 MB / 0.5046 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.5351, allocations: 1.578 MB / 0.5062 GB, free: 14.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.5404, allocations: 2.78 MB / 0.5089 GB, free: 11.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.5404, allocations: 4 kB / 0.5089 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007463/0.5479, allocations: 3.593 MB / 0.5124 GB, free: 7.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.5479, allocations: 19.88 kB / 0.5124 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.548, allocations: 12.5 kB / 0.5124 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.5501, allocations: 0.7981 MB / 0.5132 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.552, allocations: 455.3 kB / 0.5137 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.5642, allocations: 10.58 MB / 0.524 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5666, allocations: 127.9 kB / 0.5241 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/0.567, allocations: 75.98 kB / 0.5242 GB, free: 10.85 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.00262/0.5696, allocations: 1.094 MB / 0.5253 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009709/0.5706, allocations: 266.3 kB / 0.5255 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/0.5774, allocations: 3.282 MB / 0.5287 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.5774, allocations: 19.94 kB / 0.5287 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-05/0.5775, allocations: 8 kB / 0.5287 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.5775, allocations: 11.95 kB / 0.5287 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.262/0.8395, allocations: 6.427 MB / 0.535 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/0.8395, allocations: 1.594 kB / 0.535 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.8412, allocations: 295.9 kB / 0.5353 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.8439, allocations: 0.9135 MB / 0.5362 GB, free: 98.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002586/0.8442, allocations: 41.69 kB / 0.5362 GB, free: 98.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.8557, allocations: 13.81 MB / 0.5497 GB, free: 88.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8557, allocations: 6.031 kB / 0.5497 GB, free: 88.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/0.8626, allocations: 4.859 MB / 0.5545 GB, free: 86.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.8643, allocations: 0.5143 MB / 0.555 GB, free: 86.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/0.8647, allocations: 38.17 kB / 0.555 GB, free: 86.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.8659, allocations: 121.1 kB / 0.5551 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/0.8663, allocations: 168.8 kB / 0.5553 GB, free: 86.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.8665, allocations: 47.28 kB / 0.5553 GB, free: 86.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002435/0.8689, allocations: 1.637 MB / 0.5569 GB, free: 86.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8689, allocations: 0 / 0.5569 GB, free: 86.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002132/0.871, allocations: 0.708 MB / 0.5576 GB, free: 85.84 MB / 446.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.006497/0.8775, allocations: 5.517 MB / 0.563 GB, free: 81.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004536/0.8821, allocations: 3.335 MB / 0.5663 GB, free: 77.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.8821, allocations: 4 kB / 0.5663 GB, free: 77.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.885, allocations: 2.353 MB / 0.5686 GB, free: 75.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.8881, allocations: 0.73 MB / 0.5693 GB, free: 74.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/0.925, allocations: 26.39 MB / 0.5951 GB, free: 47.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.9267, allocations: 1.972 MB / 0.597 GB, free: 45.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001614/0.9284, allocations: 0.5906 MB / 0.5976 GB, free: 45.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.9297, allocations: 1.272 MB / 0.5988 GB, free: 43.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.153e-06/0.9297, allocations: 0 / 0.5988 GB, free: 43.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.062, allocations: 71.36 MB / 0.6685 GB, free: 4.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.23, allocations: 4 kB / 0.6685 GB, free: 4.953 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.056989607866853]