Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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.0009106/0.0009106, allocations: 76.88 kB / 22.29 MB, free: 2.047 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.0009423/0.0009423, allocations: 167.7 kB / 25.7 MB, free: 8.461 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.9012/0.9012, allocations: 158.6 MB / 187.6 MB, free: 2.781 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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.216e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009481/0.009503, allocations: 9.168 MB / 260.7 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.01639, allocations: 3.428 MB / 264.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.0178, allocations: 51.62 kB / 264.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.01964, allocations: 0.738 MB / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.02219, allocations: 0.885 MB / 265.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.02325, allocations: 458.9 kB / 266.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.02612, allocations: 2.509 MB / 268.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.0275, allocations: 1.021 MB / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.03006, allocations: 1.774 MB / 271.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.03186, allocations: 1.224 MB / 272.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005083/0.03237, allocations: 276 kB / 273.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.03313, allocations: 395.7 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007022/0.03384, allocations: 0.8023 MB / 274.2 MB, free: 396 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.03509, allocations: 0.8614 MB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.03764, allocations: 2.059 MB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.03765, allocations: 0 / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03765, allocations: 4 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.548e-05/0.0377, allocations: 0 / 277.2 MB, free: 13.45 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003897/0.0416, allocations: 2.454 MB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.04164, allocations: 11.98 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.04232, allocations: 352.6 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.04343, allocations: 0.893 MB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.0435, allocations: 143.7 kB / 281 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.04367, allocations: 195.9 kB / 281.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.0452, allocations: 1.44 MB / 282.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.04524, allocations: 7.984 kB / 282.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.04534, allocations: 76 kB / 282.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.04541, allocations: 95.67 kB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.04619, allocations: 0.5445 MB / 283.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005457/0.05165, allocations: 4.763 MB / 288.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.05228, allocations: 0.5745 MB / 288.7 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.05279, allocations: 410.6 kB / 289.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.05292, allocations: 44.97 kB / 289.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.05342, allocations: 497.5 kB / 289.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.484e-06/0.05342, allocations: 0 / 289.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.00524/0.05866, allocations: 3.133 MB / 292.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.05873, allocations: 192.9 kB / 293 MB, free: 13.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.05945, allocations: 0.9967 MB / 294 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.0595, allocations: 49.69 kB / 294 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.05991, allocations: 0.7837 MB / 294.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.06012, allocations: 440.2 kB / 295.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.06035, allocations: 235.4 kB / 295.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.06044, allocations: 361.8 kB / 295.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.06065, allocations: 162.8 kB / 296 MB, free: 10.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.06104, allocations: 0.6132 MB / 296.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.06169, allocations: 0.8126 MB / 297.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.06169, allocations: 4 kB / 297.4 MB, free: 8.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001212/0.0629, allocations: 0.9681 MB / 298.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.06292, allocations: 12 kB / 298.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.06294, allocations: 11.94 kB / 298.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.06351, allocations: 283.5 kB / 298.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/0.06403, allocations: 263.6 kB / 298.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.06684, allocations: 4.765 MB / 303.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.06732, allocations: 59.97 kB / 303.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.06737, allocations: 51.97 kB / 303.8 MB, free: 1.652 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.06773, allocations: 192.3 kB / 304 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.0679, allocations: 135.8 kB / 304.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.06899, allocations: 0.8766 MB / 305 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.069, allocations: 15.98 kB / 305 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.06901, allocations: 4 kB / 305 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.06902, allocations: 7.984 kB / 305 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.07182, allocations: 2.472 MB / 307.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.07182, allocations: 4 kB / 307.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.0722, allocations: 163.8 kB / 307.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/0.07284, allocations: 359 kB / 308 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.07289, allocations: 39.98 kB / 308 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.07611, allocations: 5.925 MB / 314 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.07611, allocations: 4 kB / 314 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.07757, allocations: 1.307 MB / 315.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.0779, allocations: 191 kB / 315.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.07802, allocations: 31.98 kB / 315.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.07835, allocations: 39.98 kB / 315.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.07853, allocations: 104.7 kB / 315.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.07857, allocations: 31.98 kB / 315.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005012/0.07907, allocations: 461.9 kB / 316.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07907, allocations: 0 / 316.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001249/0.08032, allocations: 443.9 kB / 316.5 MB, free: 4.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,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.001214/0.08154, allocations: 0.5918 MB / 317.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.0829, allocations: 1.155 MB / 318.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.08292, allocations: 17.19 kB / 318.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.08389, allocations: 0.9498 MB / 319.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.08488, allocations: 364.2 kB / 319.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.0891, allocations: 3.415 MB / 323 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.08948, allocations: 469.1 kB / 323.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005081/0.08999, allocations: 192 kB / 323.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.09054, allocations: 361.1 kB / 324 MB, free: 12.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.083e-06/0.09054, allocations: 0 / 324 MB, free: 12.59 MB / 314.7 MB Notification: Performance of Templates: time 0.03081/0.1213, allocations: 24.55 MB / 348.6 MB, free: 3.984 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_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_Conveyor/AIMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.387406723573804]