Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.0009551/0.0009551, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001005/0.001005, allocations: 161.3 kB / 25.61 MB, free: 8.582 MB / 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 0.8901/0.8901, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 274.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.618e-05, allocations: 4.656 kB / 274.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007008/0.007025, allocations: 8.704 MB / 282.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.01071, allocations: 2.881 MB / 285.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004853/0.01119, allocations: 55.62 kB / 285.8 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.01211, allocations: 0.6093 MB / 286.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.01318, allocations: 0.8033 MB / 287.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.01354, allocations: 339.4 kB / 287.5 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01528, allocations: 2.464 MB / 290 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008672/0.01615, allocations: 0.9853 MB / 291 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.01761, allocations: 1.758 MB / 292.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009672/0.01858, allocations: 1.228 MB / 293.9 MB, free: 424 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.01881, allocations: 268 kB / 294.2 MB, free: 156 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.01919, allocations: 371.8 kB / 294.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.01964, allocations: 0.8062 MB / 295.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.02023, allocations: 0.8613 MB / 296.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.02211, allocations: 2.021 MB / 298.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02212, allocations: 4 kB / 298.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02212, allocations: 0 / 298.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.02216, allocations: 0 / 298.3 MB, free: 12.09 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00385/0.02601, allocations: 2.631 MB / 300.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.02604, allocations: 8.031 kB / 300.9 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.02699, allocations: 443.3 kB / 301.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.02835, allocations: 1.231 MB / 302.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.02842, allocations: 143.9 kB / 302.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.02858, allocations: 176.3 kB / 302.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.03015, allocations: 1.38 MB / 304.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.03019, allocations: 7.953 kB / 304.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.03029, allocations: 75.98 kB / 304.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/0.03035, allocations: 79.5 kB / 304.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.03105, allocations: 0.5177 MB / 304.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/0.03645, allocations: 5.945 MB / 310.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.03709, allocations: 0.5197 MB / 311.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.03767, allocations: 457.3 kB / 311.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.03778, allocations: 40.98 kB / 311.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.0378, allocations: 54.31 kB / 311.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/0.0378, allocations: 0 / 311.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.003116/0.04092, allocations: 2.202 MB / 314.1 MB, free: 11.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.04095, allocations: 60.41 kB / 314.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.04171, allocations: 1.074 MB / 315.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.04176, allocations: 49.7 kB / 315.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.04226, allocations: 1.026 MB / 316.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.04247, allocations: 376.8 kB / 316.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.0427, allocations: 224.4 kB / 316.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.04285, allocations: 0.5354 MB / 317.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.04307, allocations: 150.4 kB / 317.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.04373, allocations: 0.5572 MB / 318.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.04437, allocations: 0.8194 MB / 319 MB, free: 6.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.04438, allocations: 4 kB / 319 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001338/0.04571, allocations: 1.136 MB / 320.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.04573, allocations: 8 kB / 320.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.04574, allocations: 8 kB / 320.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.04668, allocations: 499.6 kB / 320.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.04708, allocations: 219.6 kB / 320.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003878/0.05096, allocations: 5.387 MB / 326.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.05131, allocations: 52.06 kB / 326.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.05136, allocations: 32 kB / 326.3 MB, free: 14.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (5,30,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.05162, allocations: 228.2 kB / 326.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.0518, allocations: 179.1 kB / 326.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.05283, allocations: 0.8611 MB / 327.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.05284, allocations: 12 kB / 327.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.05284, allocations: 4 kB / 327.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.05285, allocations: 7.969 kB / 327.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.05517, allocations: 2.133 MB / 329.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.05517, allocations: 8.016 kB / 329.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.05555, allocations: 159.8 kB / 329.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/0.05609, allocations: 262 kB / 330.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.05613, allocations: 23.98 kB / 330.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.05905, allocations: 6.029 MB / 336.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.05905, allocations: 11.95 kB / 336.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.06033, allocations: 1.238 MB / 337.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.06059, allocations: 227 kB / 337.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.06069, allocations: 27.98 kB / 337.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.061, allocations: 31.98 kB / 337.7 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.06111, allocations: 88.72 kB / 337.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.06115, allocations: 23.98 kB / 337.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.06155, allocations: 0.5958 MB / 338.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06155, allocations: 0 / 338.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.06226, allocations: 431.9 kB / 338.9 MB, free: 1.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0002165/0.06248, allocations: 179 kB / 339 MB, free: 1.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.06381, allocations: 1.178 MB / 340.2 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.06381, allocations: 0 / 340.2 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.06454, allocations: 0.9381 MB / 341.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.06536, allocations: 337.2 kB / 341.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.06872, allocations: 3.371 MB / 344.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.06909, allocations: 0.5192 MB / 345.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000344/0.06944, allocations: 163.2 kB / 345.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.06995, allocations: 386 kB / 345.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06995, allocations: 0 / 345.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of Templates: time 0.1236/0.1936, allocations: 24.08 MB / 370 MB, free: 75.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.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.3955970229581]