Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 83.73 kB / 21.97 MB, free: 2.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 167.6 kB / 25.33 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.903/0.903, allocations: 158.6 MB / 187.2 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.082e-05, allocations: 6.25 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008582/0.008603, allocations: 9.313 MB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005017/0.01362, allocations: 2.984 MB / 263.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.01472, allocations: 51.62 kB / 263.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.01634, allocations: 0.6251 MB / 264 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.01841, allocations: 0.8615 MB / 264.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.01907, allocations: 363.4 kB / 265.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.02162, allocations: 2.785 MB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.02286, allocations: 1.073 MB / 269.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.02581, allocations: 1.926 MB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.02835, allocations: 1.372 MB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006848/0.02903, allocations: 296 kB / 272.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.02976, allocations: 387.8 kB / 273.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006225/0.03038, allocations: 0.8998 MB / 274 MB, free: 428 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.03204, allocations: 0.9588 MB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.03507, allocations: 2.25 MB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.03508, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.03508, allocations: 4 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001257/0.03521, allocations: 0 / 277.2 MB, free: 13.2 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.004337/0.03954, allocations: 2.949 MB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.03959, allocations: 19.92 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.04032, allocations: 471.1 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.04197, allocations: 1.291 MB / 281.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.04205, allocations: 156.4 kB / 282.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.04225, allocations: 204.3 kB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.04458, allocations: 1.688 MB / 283.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.04463, allocations: 11.89 kB / 284 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.04475, allocations: 83.98 kB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/0.04482, allocations: 91.94 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.04625, allocations: 0.7529 MB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007426/0.05368, allocations: 6.897 MB / 291.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/0.05459, allocations: 0.7098 MB / 292.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.05569, allocations: 0.5655 MB / 293.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.05586, allocations: 56.89 kB / 293.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.05589, allocations: 50.39 kB / 293.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.05589, allocations: 0 / 293.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.005228/0.06112, allocations: 3.156 MB / 296.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.06116, allocations: 68.34 kB / 296.4 MB, free: 9.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.06236, allocations: 1.226 MB / 297.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.06243, allocations: 45.7 kB / 297.7 MB, free: 8.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/0.06297, allocations: 1.094 MB / 298.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.06324, allocations: 444.3 kB / 299.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.06351, allocations: 265.1 kB / 299.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006456/0.06415, allocations: 0.5394 MB / 300 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.06451, allocations: 227.8 kB / 300.2 MB, free: 5.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.06508, allocations: 0.6718 MB / 300.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.06609, allocations: 0.9953 MB / 301.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.0661, allocations: 0 / 301.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001733/0.06783, allocations: 1.256 MB / 303.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.06785, allocations: 8.469 kB / 303.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.06787, allocations: 15.94 kB / 303.2 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.06842, allocations: 234.2 kB / 303.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.0691, allocations: 315.5 kB / 303.7 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.07212, allocations: 4.416 MB / 308.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000635/0.07275, allocations: 79.95 kB / 308.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.07282, allocations: 59.94 kB / 308.2 MB, free: 12.88 MB / 298.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.0004631/0.07329, allocations: 244.2 kB / 308.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.07352, allocations: 199 kB / 308.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.07505, allocations: 1.065 MB / 309.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.07506, allocations: 12 kB / 309.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.07507, allocations: 7.938 kB / 309.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.07508, allocations: 7.984 kB / 309.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.07906, allocations: 2.92 MB / 312.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.07906, allocations: 4 kB / 312.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.07958, allocations: 215.7 kB / 312.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006328/0.08021, allocations: 272.6 kB / 313.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.08028, allocations: 35.98 kB / 313.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/0.08395, allocations: 6.174 MB / 319.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.08395, allocations: 0 / 319.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.08657, allocations: 1.544 MB / 320.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.08713, allocations: 282.9 kB / 321.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.08727, allocations: 31.98 kB / 321.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.08771, allocations: 63.94 kB / 321.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.08793, allocations: 120.6 kB / 321.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.08798, allocations: 35.98 kB / 321.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008068/0.08879, allocations: 0.7045 MB / 322.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.08879, allocations: 0 / 322.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001128/0.08991, allocations: 455.9 kB / 322.6 MB, free: 13.9 MB / 314.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.0002763/0.09019, allocations: 182.9 kB / 322.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.09197, allocations: 1.298 MB / 324.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.09198, allocations: 4.062 kB / 324.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.09299, allocations: 1.067 MB / 325.1 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.09406, allocations: 393.6 kB / 325.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.09931, allocations: 3.755 MB / 329.3 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.09977, allocations: 0.5672 MB / 329.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006585/0.1004, allocations: 304.4 kB / 330.1 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.1007, allocations: 108.5 kB / 330.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1007, allocations: 0 / 330.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of Templates: time 0.1386/0.2392, allocations: 24.94 MB / 355.2 MB, free: 97.07 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.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.4933438850566745]