Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.001515/0.001515, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001814/0.001814, allocations: 167.9 kB / 25.33 MB, free: 8.711 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 1.032/1.032, allocations: 158.6 MB / 187.2 MB, free: 2.938 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_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.696e-05/3.915e-05, allocations: 2.312 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.008227/0.008266, allocations: 8.861 MB / 259.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.01326, allocations: 2.868 MB / 262.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.01444, allocations: 47.69 kB / 262.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.01575, allocations: 0.598 MB / 263.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.01771, allocations: 0.7878 MB / 264.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.01844, allocations: 335.4 kB / 264.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.02104, allocations: 2.477 MB / 267 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.02221, allocations: 0.9688 MB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.02446, allocations: 1.59 MB / 269.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.02639, allocations: 1.274 MB / 270.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007464/0.02714, allocations: 280 kB / 271.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.02804, allocations: 363.9 kB / 271.5 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.02882, allocations: 0.853 MB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.0301, allocations: 0.8731 MB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.03226, allocations: 2.036 MB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.03227, allocations: 0 / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.03227, allocations: 0 / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.167e-05/0.03235, allocations: 0 / 275.2 MB, free: 15.16 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.00315/0.0355, allocations: 2.709 MB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.03555, allocations: 11.98 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/0.03617, allocations: 423.4 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.03753, allocations: 1.164 MB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.03761, allocations: 143.9 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.03779, allocations: 188.3 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.03965, allocations: 1.478 MB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.03969, allocations: 19.81 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.0398, allocations: 72 kB / 281.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.602e-05/0.03988, allocations: 87.48 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.04106, allocations: 0.6645 MB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006309/0.04737, allocations: 6.121 MB / 288.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.04817, allocations: 0.5585 MB / 288.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.04892, allocations: 0.4935 MB / 289.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.0491, allocations: 48.97 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.04914, allocations: 50.39 kB / 289.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 6.202e-06/0.04915, allocations: 0 / 289.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.004528/0.05367, allocations: 2.732 MB / 292.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.05371, allocations: 64.41 kB / 292.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.0548, allocations: 1.093 MB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.05485, allocations: 41.7 kB / 293.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.05538, allocations: 1.007 MB / 294.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.05561, allocations: 372.9 kB / 294.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.05584, allocations: 220.5 kB / 295 MB, free: 10.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.05601, allocations: 0.5238 MB / 295.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.05632, allocations: 198.5 kB / 295.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.05684, allocations: 0.6041 MB / 296.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008704/0.05771, allocations: 0.9054 MB / 297.2 MB, free: 8.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.05771, allocations: 4 kB / 297.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001835/0.05955, allocations: 1.3 MB / 298.5 MB, free: 7.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.05958, allocations: 11.94 kB / 298.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.05959, allocations: 12 kB / 298.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.06082, allocations: 0.5182 MB / 299 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.06131, allocations: 235.6 kB / 299.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.06618, allocations: 5.822 MB / 305.1 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.06688, allocations: 67.92 kB / 305.2 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.06694, allocations: 48 kB / 305.2 MB, free: 96 kB / 282.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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004922/0.06744, allocations: 220.3 kB / 305.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.06764, allocations: 191.1 kB / 305.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.0689, allocations: 0.9508 MB / 306.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.0689, allocations: 12.06 kB / 306.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.06891, allocations: 8 kB / 306.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.06892, allocations: 11.91 kB / 306.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.07234, allocations: 2.618 MB / 309.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.07235, allocations: 4.219 kB / 309.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.07276, allocations: 183.7 kB / 309.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006441/0.0734, allocations: 282.3 kB / 309.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.07346, allocations: 35.98 kB / 309.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.07675, allocations: 6.246 MB / 316 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.07675, allocations: 7.875 kB / 316 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.07854, allocations: 1.378 MB / 317.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.07896, allocations: 255 kB / 317.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.07905, allocations: 27.98 kB / 317.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.07941, allocations: 63.92 kB / 317.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.07956, allocations: 92.77 kB / 317.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.0796, allocations: 27.94 kB / 317.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006723/0.08027, allocations: 0.6501 MB / 318.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08027, allocations: 0 / 318.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001064/0.08134, allocations: 439.9 kB / 318.9 MB, free: 1.855 MB / 298.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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.08159, allocations: 179 kB / 319 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.08324, allocations: 1.31 MB / 320.4 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.08324, allocations: 4 kB / 320.4 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.08424, allocations: 1.04 MB / 321.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.08522, allocations: 335 kB / 321.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.08992, allocations: 3.382 MB / 325.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.09034, allocations: 0.5114 MB / 325.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005212/0.09086, allocations: 239 kB / 325.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.09105, allocations: 96.47 kB / 325.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of SimCode: time 2.184e-06/0.09105, allocations: 0 / 325.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of Templates: time 0.02931/0.1204, allocations: 23.17 MB / 349.1 MB, free: 3.379 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_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.6892789038829505]