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.002195/0.002195, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002819/0.002819, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.468/1.468, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.716e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0155/0.01554, allocations: 10.43 MB / 282.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009979/0.02552, allocations: 3.651 MB / 286.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.0283, allocations: 99.31 kB / 286.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.0315, allocations: 0.878 MB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.03629, allocations: 1.18 MB / 288.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.03784, allocations: 0.5031 MB / 289 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1466/0.1844, allocations: 4.401 MB / 293.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.1869, allocations: 1.78 MB / 295.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005237/0.1921, allocations: 2.855 MB / 298 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.1965, allocations: 2.09 MB / 300.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.1976, allocations: 0.4961 MB / 300.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.1994, allocations: 0.5972 MB / 301.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.2007, allocations: 1.464 MB / 302.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.2031, allocations: 1.523 MB / 304.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006255/0.2094, allocations: 6.678 MB / 310.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2094, allocations: 0.8438 kB / 310.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2094, allocations: 0 / 310.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.2095, allocations: 0.5625 kB / 310.8 MB, free: 8.586 MB / 266.7 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.009028/0.2186, allocations: 4.309 MB / 315.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.2186, allocations: 11.98 kB / 315.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.2204, allocations: 0.7373 MB / 315.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.224, allocations: 2.456 MB / 318.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.2241, allocations: 226.5 kB / 318.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.2245, allocations: 311.8 kB / 318.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007768/0.2323, allocations: 4.598 MB / 323.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/0.2323, allocations: 15.7 kB / 323.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.2327, allocations: 124 kB / 323.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.2328, allocations: 130 kB / 323.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007815/0.2406, allocations: 3.778 MB / 327.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/0.2659, allocations: 11.91 MB / 339.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.2697, allocations: 2.088 MB / 341.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.2729, allocations: 1.57 MB / 343.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.2731, allocations: 57.28 kB / 343.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.2732, allocations: 55.88 kB / 343.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.426e-06/0.2732, allocations: 0 / 343.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.02093/0.2941, allocations: 8.561 MB / 351.8 MB, free: 8 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/0.2942, allocations: 69.41 kB / 351.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/0.2986, allocations: 2.157 MB / 354 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.2989, allocations: 57.7 kB / 354 MB, free: 13.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.3008, allocations: 1.514 MB / 355.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.3019, allocations: 0.6218 MB / 356.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008608/0.3028, allocations: 367.4 kB / 356.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.303, allocations: 301.1 kB / 356.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/0.305, allocations: 1.124 MB / 358 MB, free: 9.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.3073, allocations: 1.575 MB / 359.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.3119, allocations: 2.78 MB / 362.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3119, allocations: 8 kB / 362.3 MB, free: 5.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007051/0.319, allocations: 3.674 MB / 366 MB, free: 1.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.319, allocations: 12 kB / 366 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.319, allocations: 12 kB / 366 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/0.322, allocations: 0.9097 MB / 366.9 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.3239, allocations: 455.6 kB / 367.4 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.3371, allocations: 10.49 MB / 377.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.3391, allocations: 132 kB / 378 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.3393, allocations: 75.98 kB / 378.1 MB, free: 4.973 MB / 330.7 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.002162/0.3415, allocations: 1.09 MB / 379.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/0.3421, allocations: 314.4 kB / 379.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00649/0.3486, allocations: 3.263 MB / 382.7 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.3487, allocations: 23.98 kB / 382.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.3487, allocations: 4 kB / 382.8 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.3487, allocations: 11.97 kB / 382.8 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.3613, allocations: 6.052 MB / 388.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3613, allocations: 0 / 388.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.3627, allocations: 305 kB / 389.1 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.3661, allocations: 1.021 MB / 390.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.3662, allocations: 39.98 kB / 390.2 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.3832, allocations: 13.7 MB / 403.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3832, allocations: 4.031 kB / 403.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00933/0.3925, allocations: 4.903 MB / 408.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/0.3942, allocations: 494.3 kB / 409.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/0.3947, allocations: 36 kB / 409.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.396, allocations: 123.9 kB / 409.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004912/0.3965, allocations: 161 kB / 409.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.3966, allocations: 47.98 kB / 409.6 MB, free: 4.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002826/0.3994, allocations: 1.468 MB / 411.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 411.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002525/0.402, allocations: 0.7108 MB / 411.8 MB, free: 2.504 MB / 362.7 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.0005052/0.4025, allocations: 204.6 kB / 412 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.4085, allocations: 3.337 MB / 415.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4085, allocations: 0 / 415.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/0.4129, allocations: 2.35 MB / 417.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.4168, allocations: 0.6428 MB / 418.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.4299, allocations: 6.76 MB / 425.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/0.4329, allocations: 1.971 MB / 427.1 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002002/0.4349, allocations: 0.5537 MB / 427.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.4354, allocations: 156.5 kB / 427.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4354, allocations: 0 / 427.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of Templates: time 0.2165/0.652, allocations: 40.94 MB / 468.7 MB, free: 96.64 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.255916845984757]