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.001837/0.001837, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002272/0.002272, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001614/0.001614, allocations: 43.94 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2442, allocations: 53.36 MB / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01486/0.2591, allocations: 11.96 MB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007982/0.267, allocations: 3.848 MB / 447 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.269, allocations: 91.38 kB / 447.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.2717, allocations: 0.9288 MB / 448 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.2754, allocations: 1.154 MB / 449.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.2768, allocations: 0.507 MB / 449.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005847/0.2827, allocations: 4.249 MB / 453.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/0.2861, allocations: 1.841 MB / 455.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2892, allocations: 1.963 MB / 457.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.2933, allocations: 2.394 MB / 460.1 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009578/0.2942, allocations: 0.4961 MB / 460.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2956, allocations: 0.5975 MB / 461.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.2971, allocations: 1.41 MB / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.2998, allocations: 2.221 MB / 464.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.3072, allocations: 6.591 MB / 471.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3072, allocations: 0 / 471.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3072, allocations: 0 / 471.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.3074, allocations: 0 / 471.4 MB, free: 14.37 MB / 382.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.009577/0.3169, allocations: 4.348 MB / 475.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.317, allocations: 12.03 kB / 475.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006342/0.3176, allocations: 438.6 kB / 476.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.319, allocations: 498.2 kB / 476.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.324, allocations: 2.359 MB / 479 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.3242, allocations: 230.2 kB / 479.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.3247, allocations: 300 kB / 479.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.3321, allocations: 4.377 MB / 483.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.3322, allocations: 7.953 kB / 483.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.3324, allocations: 132 kB / 484.1 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.3326, allocations: 130 kB / 484.2 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00676/0.3393, allocations: 3.787 MB / 488 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.3643, allocations: 13.24 MB / 0.4895 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.3681, allocations: 2.082 MB / 0.4915 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003089/0.3712, allocations: 1.567 MB / 0.493 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.3715, allocations: 49.28 kB / 0.4931 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.3715, allocations: 55.88 kB / 0.4931 GB, free: 12.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.288e-06/0.3715, allocations: 0 / 0.4931 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02109/0.3926, allocations: 8.508 MB / 0.5014 GB, free: 3.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3927, allocations: 73.39 kB / 0.5015 GB, free: 3.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005972/0.3986, allocations: 2.37 MB / 0.5038 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004673/0.3991, allocations: 57.7 kB / 0.5039 GB, free: 1.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.4007, allocations: 1.509 MB / 0.5054 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.4016, allocations: 0.6352 MB / 0.506 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009513/0.4026, allocations: 367.5 kB / 0.5063 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4027, allocations: 301.1 kB / 0.5066 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.4048, allocations: 1.128 MB / 0.5077 GB, free: 13.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.4072, allocations: 1.563 MB / 0.5092 GB, free: 11.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.4117, allocations: 2.788 MB / 0.512 GB, free: 8.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.4117, allocations: 4 kB / 0.512 GB, free: 8.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006849/0.4186, allocations: 3.598 MB / 0.5155 GB, free: 4.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4186, allocations: 12.03 kB / 0.5155 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4186, allocations: 12 kB / 0.5155 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.4208, allocations: 0.8019 MB / 0.5163 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.4226, allocations: 459.3 kB / 0.5167 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.4346, allocations: 10.67 MB / 0.5272 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.4366, allocations: 123.9 kB / 0.5273 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.4369, allocations: 76.06 kB / 0.5273 GB, free: 8.094 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.00232/0.4392, allocations: 1.087 MB / 0.5284 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/0.4399, allocations: 262.3 kB / 0.5287 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006145/0.4461, allocations: 3.289 MB / 0.5319 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.4461, allocations: 16 kB / 0.5319 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/0.4461, allocations: 8 kB / 0.5319 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4461, allocations: 7.969 kB / 0.5319 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2177/0.6638, allocations: 6.818 MB / 0.5386 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.6638, allocations: 0.9844 kB / 0.5386 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.665, allocations: 296.5 kB / 0.5388 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/0.6674, allocations: 0.9234 MB / 0.5397 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.6675, allocations: 44.97 kB / 0.5398 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.6777, allocations: 13.9 MB / 0.5534 GB, free: 87.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6777, allocations: 3.375 kB / 0.5534 GB, free: 87.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006393/0.6841, allocations: 4.855 MB / 0.5581 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.6855, allocations: 0.5064 MB / 0.5586 GB, free: 85.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/0.6859, allocations: 41.98 kB / 0.5586 GB, free: 85.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6871, allocations: 121.8 kB / 0.5588 GB, free: 85.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.6874, allocations: 167 kB / 0.5589 GB, free: 85.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.6875, allocations: 48.61 kB / 0.559 GB, free: 85.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001985/0.6895, allocations: 1.639 MB / 0.5606 GB, free: 84.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6895, allocations: 2.906 kB / 0.5606 GB, free: 84.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6914, allocations: 0.7081 MB / 0.5613 GB, free: 83.71 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.006015/0.6974, allocations: 5.523 MB / 0.5666 GB, free: 78.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004162/0.7015, allocations: 3.332 MB / 0.5699 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7016, allocations: 0 / 0.5699 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002858/0.7044, allocations: 2.357 MB / 0.5722 GB, free: 72.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004102/0.7085, allocations: 0.7212 MB / 0.5729 GB, free: 71.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/0.7476, allocations: 26.4 MB / 0.5987 GB, free: 44.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/0.7501, allocations: 2.525 MB / 0.6012 GB, free: 42.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.7519, allocations: 0.5867 MB / 0.6017 GB, free: 41.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.7534, allocations: 1.265 MB / 0.603 GB, free: 40.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7534, allocations: 0 / 0.603 GB, free: 40.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/0.9214, allocations: 69.1 MB / 0.6704 GB, free: 3.992 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/18.13, allocations: 14.95 kB / 0.6705 GB, free: 3.98 MB / 478.1 MB " [Timeout remaining time 642] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 23.858556664083153]