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.0007685/0.0007685, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001899, 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.0006871/0.0006871, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009571/0.001644, 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 0.9451/0.9451, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09765/1.043, allocations: 53.87 MB / 243.9 MB, free: 14.87 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_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.703e-06/1.703e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.301e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.0101/0.01012, allocations: 8.793 MB / 254 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.01582, allocations: 3.095 MB / 257.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008478/0.01667, allocations: 63.62 kB / 257.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01803, allocations: 0.6054 MB / 257.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.01978, allocations: 0.8072 MB / 258.6 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.02029, allocations: 331.4 kB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.02212, allocations: 2.482 MB / 261.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.02305, allocations: 1.013 MB / 262.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.02539, allocations: 1.919 MB / 264.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.02672, allocations: 1.228 MB / 265.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.0271, allocations: 272 kB / 265.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.02769, allocations: 371.8 kB / 266.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.02817, allocations: 0.6585 MB / 266.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.0288, allocations: 0.7174 MB / 267.5 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.03038, allocations: 1.892 MB / 269.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.03039, allocations: 4 kB / 269.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03039, allocations: 3.938 kB / 269.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.03045, allocations: 0 / 269.4 MB, free: 5.18 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.002878/0.03333, allocations: 2.827 MB / 272.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.03336, allocations: 8.625 kB / 272.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006472/0.034, allocations: 445.6 kB / 272.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.03527, allocations: 0.9554 MB / 273.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.03534, allocations: 132 kB / 273.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.03556, allocations: 188.3 kB / 274 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1002/0.1358, allocations: 1.388 MB / 275.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.1358, allocations: 5.25 kB / 275.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.1359, allocations: 73.92 kB / 275.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/0.136, allocations: 86.47 kB / 275.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009256/0.137, allocations: 0.5225 MB / 276.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.1426, allocations: 4.799 MB / 280.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.1433, allocations: 0.5319 MB / 281.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.144, allocations: 430.5 kB / 281.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1441, allocations: 42.52 kB / 281.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1441, allocations: 42.97 kB / 281.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.1441, allocations: 0 / 281.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003823/0.1479, allocations: 2.23 MB / 284.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.148, allocations: 63 kB / 284.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007623/0.1487, allocations: 0.8982 MB / 285.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.1488, allocations: 42.91 kB / 285.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.1491, allocations: 0.7699 MB / 285.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1493, allocations: 363.9 kB / 286.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1495, allocations: 208.8 kB / 286.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.1496, allocations: 352.9 kB / 286.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.1498, allocations: 149.6 kB / 286.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.1501, allocations: 427 kB / 287.4 MB, free: 9.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.1508, allocations: 0.7309 MB / 288.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1508, allocations: 10.34 kB / 288.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001248/0.152, allocations: 0.9291 MB / 289 MB, free: 8.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.152, allocations: 8.625 kB / 289 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.1521, allocations: 11.97 kB / 289 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009351/0.153, allocations: 485 kB / 289.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.1535, allocations: 257.1 kB / 289.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.1565, allocations: 4.161 MB / 293.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.1569, allocations: 42.94 kB / 294 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.157, allocations: 39.64 kB / 294 MB, free: 6.27 MB / 266.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.0002876/0.1573, allocations: 175.1 kB / 294.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.1574, allocations: 123.7 kB / 294.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.1583, allocations: 0.7426 MB / 295.1 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1583, allocations: 13.67 kB / 295.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1584, allocations: 6.094 kB / 295.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1584, allocations: 7.734 kB / 295.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.1605, allocations: 1.844 MB / 296.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1605, allocations: 0 / 296.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1609, allocations: 195.4 kB / 297.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.1611, allocations: 176.6 kB / 297.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.1617, allocations: 303.5 kB / 297.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.1617, allocations: 28.38 kB / 297.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.1634, allocations: 4.374 MB / 302 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1634, allocations: 7.375 kB / 302 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1644, allocations: 1.061 MB / 303.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.1645, allocations: 24 kB / 303.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1648, allocations: 35.98 kB / 303.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1649, allocations: 89.31 kB / 303.2 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.165, allocations: 27.98 kB / 303.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.1653, allocations: 453 kB / 303.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1653, allocations: 0 / 303.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007629/0.1661, allocations: 423.9 kB / 304.1 MB, free: 14.47 MB / 282.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.0002419/0.1663, allocations: 165.5 kB / 304.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1673, allocations: 1.007 MB / 305.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.398e-05/0.1674, allocations: 27.11 kB / 305.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.1681, allocations: 0.801 MB / 306.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.1697, allocations: 3.181 MB / 309.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.182, allocations: 3.32 MB / 312.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1824, allocations: 474.4 kB / 313 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.1828, allocations: 171.2 kB / 313.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.1833, allocations: 337.1 kB / 313.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1833, allocations: 0 / 313.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Templates: time 0.02842/0.2117, allocations: 24.44 MB / 338 MB, free: 12.35 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1411931850016117]