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.0008103/0.0008103, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001835, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007041/0.0007041, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009121/0.001616, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9651/0.9651, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08403/1.049, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.613e-06/1.613e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.74e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008939/0.008956, allocations: 11.56 MB / 256.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.01569, allocations: 4.015 MB / 260.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.0172, allocations: 91.38 kB / 260.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.01868, allocations: 0.8936 MB / 261.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.02128, allocations: 1.199 MB / 262.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.02216, allocations: 0.4992 MB / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.02572, allocations: 4.431 MB / 267.7 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.02769, allocations: 1.841 MB / 269.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.03211, allocations: 3.334 MB / 272.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1356/0.1677, allocations: 2.17 MB / 275.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007934/0.1756, allocations: 493.5 kB / 275.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008478/0.1841, allocations: 0.5775 MB / 276.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.1858, allocations: 1.163 MB / 277.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009962/0.1958, allocations: 1.251 MB / 278.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.2143, allocations: 3.359 MB / 281.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.2143, allocations: 0.5625 kB / 281.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2143, allocations: 0 / 281.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.2145, allocations: 3.438 kB / 281.9 MB, free: 5.742 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.01743/0.232, allocations: 4.771 MB / 286.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.232, allocations: 9.656 kB / 286.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.2337, allocations: 0.666 MB / 287.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.2373, allocations: 1.569 MB / 288.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.2375, allocations: 233 kB / 289.1 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.2379, allocations: 309.5 kB / 289.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.2421, allocations: 2.497 MB / 291.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-05/0.2422, allocations: 9.578 kB / 291.9 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.2424, allocations: 124.6 kB / 292.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.2426, allocations: 131.1 kB / 292.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2441, allocations: 0.9371 MB / 293.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.2546, allocations: 8.52 MB / 301.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.256, allocations: 1.073 MB / 302.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.2569, allocations: 0.6772 MB / 303.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.2571, allocations: 61.61 kB / 303.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2571, allocations: 47.88 kB / 303.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.357e-06/0.2571, allocations: 4 kB / 303.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.007055/0.2641, allocations: 3.538 MB / 307.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2642, allocations: 73.41 kB / 307.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.2656, allocations: 1.47 MB / 308.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.2657, allocations: 57.7 kB / 308.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.2662, allocations: 1.217 MB / 309.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.2666, allocations: 0.6253 MB / 310.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.2669, allocations: 336.3 kB / 310.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.267, allocations: 305.1 kB / 311.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.2674, allocations: 250.2 kB / 311.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.2679, allocations: 0.6596 MB / 312 MB, free: 4.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.269, allocations: 1.123 MB / 313.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.269, allocations: 4 kB / 313.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002018/0.2711, allocations: 1.366 MB / 314.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2711, allocations: 12 kB / 314.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.2711, allocations: 12 kB / 314.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.2722, allocations: 498.2 kB / 315 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.2734, allocations: 0.5977 MB / 315.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.2781, allocations: 7.269 MB / 322.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.2791, allocations: 71.97 kB / 323 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.2792, allocations: 66.83 kB / 323 MB, free: 8.812 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.0009691/0.2802, allocations: 243.3 kB / 323.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.2805, allocations: 207.8 kB / 323.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.2822, allocations: 1.267 MB / 324.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.2822, allocations: 16 kB / 324.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.2822, allocations: 11.47 kB / 324.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.2822, allocations: 7.969 kB / 324.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.2869, allocations: 2.959 MB / 327.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2869, allocations: 4 kB / 327.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.2879, allocations: 489.6 kB / 328.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.2885, allocations: 313.4 kB / 328.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.2896, allocations: 0.5475 MB / 329.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-05/0.2897, allocations: 39.97 kB / 329.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005551/0.2952, allocations: 9.7 MB / 338.8 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.2952, allocations: 7.984 kB / 338.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.2979, allocations: 1.713 MB / 340.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.2982, allocations: 36 kB / 340.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.2988, allocations: 79.95 kB / 340.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.2991, allocations: 149.1 kB / 340.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.2991, allocations: 35.98 kB / 340.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008186/0.2999, allocations: 0.7502 MB / 341.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2999, allocations: 0 / 341.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001658/0.3016, allocations: 0.6953 MB / 342.3 MB, free: 5.285 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.0003246/0.3019, allocations: 185.5 kB / 342.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3037, allocations: 1.682 MB / 344.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.953e-05/0.3037, allocations: 52.95 kB / 344.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.3049, allocations: 1.488 MB / 345.7 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.3066, allocations: 0.8184 MB / 346.5 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.3282, allocations: 5.609 MB / 352.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008696/0.3291, allocations: 0.7763 MB / 352.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.3302, allocations: 283.4 kB / 353.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.3312, allocations: 0.5849 MB / 353.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3312, allocations: 0 / 353.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of Templates: time 0.05245/0.3836, allocations: 44.43 MB / 398.2 MB, free: 13.89 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.604428768157959]