Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.000769/0.000769, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.001975, 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.0006942/0.0006942, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009304/0.001625, 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.003/1.003, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1055/1.109, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.544e-05, allocations: 5.406 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01982/0.01984, allocations: 9.272 MB / 254.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.032, allocations: 3.197 MB / 257.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004442/0.03644, allocations: 63.56 kB / 257.7 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.03798, allocations: 0.6443 MB / 258.4 MB, free: 352 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005422/0.0434, allocations: 0.8459 MB / 259.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.04417, allocations: 375.3 kB / 259.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.04949, allocations: 2.785 MB / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.05127, allocations: 1.16 MB / 263.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.05525, allocations: 2.125 MB / 265.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.05708, allocations: 1.372 MB / 267 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006173/0.05769, allocations: 296 kB / 267.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.05889, allocations: 407.7 kB / 267.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007929/0.05969, allocations: 0.7325 MB / 268.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.06086, allocations: 0.7954 MB / 269.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.06329, allocations: 2.126 MB / 271.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.0633, allocations: 0 / 271.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.0633, allocations: 4 kB / 271.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.06342, allocations: 0 / 271.4 MB, free: 3.215 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004047/0.06747, allocations: 3.152 MB / 274.5 MB, free: 20 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.06751, allocations: 8.625 kB / 274.5 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1517/0.2192, allocations: 476.2 kB / 275 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.2212, allocations: 1.049 MB / 276.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.2214, allocations: 147.7 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.2216, allocations: 207.2 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.2241, allocations: 1.576 MB / 278 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/0.2241, allocations: 7.812 kB / 278 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.2242, allocations: 88.5 kB / 278.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.2243, allocations: 93.91 kB / 278.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.2256, allocations: 0.5943 MB / 278.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/0.2331, allocations: 5.428 MB / 284.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.234, allocations: 0.6678 MB / 284.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.2347, allocations: 476.2 kB / 285.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.2349, allocations: 56.12 kB / 285.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2349, allocations: 48.69 kB / 285.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.887e-06/0.2349, allocations: 0 / 285.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005668/0.2406, allocations: 2.507 MB / 287.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.2406, allocations: 64.28 kB / 288 MB, free: 10.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008059/0.2414, allocations: 1.002 MB / 289 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.2415, allocations: 43.36 kB / 289 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.2418, allocations: 0.8328 MB / 289.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.242, allocations: 430.5 kB / 290.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.2423, allocations: 242.5 kB / 290.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.2424, allocations: 364.9 kB / 290.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2426, allocations: 165.9 kB / 291 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.2429, allocations: 480.7 kB / 291.5 MB, free: 8.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.2436, allocations: 0.8246 MB / 292.3 MB, free: 8.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.2436, allocations: 7.125 kB / 292.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001575/0.2452, allocations: 0.9149 MB / 293.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.2452, allocations: 8.406 kB / 293.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2452, allocations: 9.469 kB / 293.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.2458, allocations: 222.3 kB / 293.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.2466, allocations: 343.3 kB / 293.8 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.2484, allocations: 3.157 MB / 297 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.2489, allocations: 52.2 kB / 297 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.2489, allocations: 43.14 kB / 297.1 MB, free: 5.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.2494, allocations: 198.4 kB / 297.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.2496, allocations: 135.2 kB / 297.4 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2506, allocations: 0.8268 MB / 298.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2506, allocations: 12 kB / 298.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2506, allocations: 4 kB / 298.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2506, allocations: 7.969 kB / 298.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.2533, allocations: 2.083 MB / 300.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2533, allocations: 0 / 300.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.2539, allocations: 289.3 kB / 300.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.2542, allocations: 195.2 kB / 300.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.2548, allocations: 270.4 kB / 301.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.2548, allocations: 27.98 kB / 301.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/0.258, allocations: 4.383 MB / 305.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.258, allocations: 0 / 305.5 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2597, allocations: 1.217 MB / 306.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.2599, allocations: 27.98 kB / 306.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.2604, allocations: 47.98 kB / 306.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.2606, allocations: 100.2 kB / 306.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.2606, allocations: 27.98 kB / 306.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006117/0.2612, allocations: 0.4887 MB / 307.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2612, allocations: 0 / 307.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001321/0.2625, allocations: 455.9 kB / 307.8 MB, free: 10.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,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.0003375/0.2629, allocations: 170.7 kB / 308 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.2643, allocations: 0.9931 MB / 309 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.267e-05/0.2643, allocations: 33.81 kB / 309 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.2657, allocations: 1.011 MB / 310 MB, free: 8.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.2684, allocations: 3.847 MB / 313.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.2838, allocations: 3.649 MB / 317.5 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.2845, allocations: 0.5001 MB / 318 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000912/0.2854, allocations: 196.9 kB / 318.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.2861, allocations: 405 kB / 318.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 2.665e-06/0.2861, allocations: 0 / 318.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Templates: time 0.03673/0.3229, allocations: 26.39 MB / 345 MB, free: 5.195 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.377650734037161]