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.001109/0.001109, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002855, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007943/0.0007943, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001969, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.081/1.081, allocations: 177.5 MB / 190.1 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.175, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.201e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009606/0.009628, allocations: 11.58 MB / 256.8 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008895/0.01852, allocations: 4.004 MB / 260.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.02158, allocations: 91.38 kB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.02395, allocations: 0.8975 MB / 261.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.02793, allocations: 1.184 MB / 263 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.02911, allocations: 0.5108 MB / 263.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.03356, allocations: 4.427 MB / 267.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.03582, allocations: 1.841 MB / 269.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.04053, allocations: 3.341 MB / 273.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1273/0.1678, allocations: 2.167 MB / 275.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.1695, allocations: 493.9 kB / 275.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.1722, allocations: 0.5779 MB / 276.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.1737, allocations: 1.156 MB / 277.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.1768, allocations: 1.252 MB / 278.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005695/0.1825, allocations: 3.365 MB / 282.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.1826, allocations: 0 / 282.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1826, allocations: 3.406 kB / 282.1 MB, free: 5.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002085/0.1828, allocations: 0 / 282.1 MB, free: 5.672 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.008812/0.1916, allocations: 4.769 MB / 286.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1916, allocations: 10.78 kB / 286.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.1929, allocations: 0.6694 MB / 287.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.1954, allocations: 1.564 MB / 289.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.1955, allocations: 226.4 kB / 289.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.1958, allocations: 314.9 kB / 289.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.1986, allocations: 2.494 MB / 292.1 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/0.1986, allocations: 14.86 kB / 292.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.1989, allocations: 123.7 kB / 292.3 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.1989, allocations: 129.5 kB / 292.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.2003, allocations: 0.9384 MB / 293.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.2105, allocations: 8.525 MB / 301.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2116, allocations: 1.07 MB / 302.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008247/0.2125, allocations: 0.68 MB / 303.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.2126, allocations: 54.89 kB / 303.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2127, allocations: 59.16 kB / 303.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.576e-06/0.2127, allocations: 0 / 303.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.0067/0.2194, allocations: 3.581 MB / 307.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2194, allocations: 77.41 kB / 307.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2208, allocations: 1.466 MB / 308.8 MB, free: 7.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2209, allocations: 57.7 kB / 308.9 MB, free: 7.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.2214, allocations: 1.215 MB / 310.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.2217, allocations: 0.6216 MB / 310.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.2221, allocations: 341.5 kB / 311.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.2222, allocations: 305.1 kB / 311.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.2225, allocations: 242.7 kB / 311.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.223, allocations: 0.6596 MB / 312.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.224, allocations: 1.17 MB / 313.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.224, allocations: 4 kB / 313.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.001877/0.2259, allocations: 1.362 MB / 314.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2259, allocations: 8 kB / 314.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.226, allocations: 16 kB / 314.8 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.2271, allocations: 0.4981 MB / 315.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.2284, allocations: 0.5982 MB / 315.9 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.2331, allocations: 7.257 MB / 323.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.2348, allocations: 75.97 kB / 323.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.2349, allocations: 59.98 kB / 323.3 MB, free: 8.602 MB / 298.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.001063/0.2359, allocations: 251.2 kB / 323.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004299/0.2364, allocations: 207.7 kB / 323.8 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.2381, allocations: 1.265 MB / 325 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.2381, allocations: 23.84 kB / 325 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.2382, allocations: 6.953 kB / 325.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.2382, allocations: 7.969 kB / 325.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.2427, allocations: 2.968 MB / 328 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2427, allocations: 4.219 kB / 328 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.2437, allocations: 483.7 kB / 328.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/0.2445, allocations: 306.3 kB / 328.8 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.2456, allocations: 0.5635 MB / 329.4 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.2457, allocations: 39.98 kB / 329.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/0.2511, allocations: 9.703 MB / 339.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2511, allocations: 4 kB / 339.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.2536, allocations: 1.722 MB / 340.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.254, allocations: 40 kB / 340.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.2546, allocations: 71.95 kB / 340.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.2549, allocations: 145.7 kB / 341.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.2549, allocations: 35.98 kB / 341.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008775/0.2558, allocations: 0.7473 MB / 341.9 MB, free: 5.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2558, allocations: 7.844 kB / 341.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001866/0.2577, allocations: 0.6915 MB / 342.6 MB, free: 5.062 MB / 314.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%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/0.258, allocations: 185.2 kB / 342.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.26, allocations: 1.711 MB / 344.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.189e-05/0.26, allocations: 45.69 kB / 344.5 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.2614, allocations: 1.586 MB / 346.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.2648, allocations: 6.434 MB / 352.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/0.2852, allocations: 5.596 MB / 358.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.2861, allocations: 0.7873 MB / 358.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.2871, allocations: 291.6 kB / 359.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.2882, allocations: 0.5849 MB / 359.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.2882, allocations: 0 / 359.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of Templates: time 0.05495/0.3431, allocations: 44.45 MB / 404.2 MB, free: 6.594 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.805883439257741]