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.0014/0.0014, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.00145/0.00145, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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.437/1.437, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 51.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.247, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01102/0.258, allocations: 8.359 MB / 356.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006469/0.2645, allocations: 3.219 MB / 360.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2655, allocations: 51.62 kB / 360.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.2673, allocations: 0.7301 MB / 360.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.27, allocations: 0.8507 MB / 361.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.2717, allocations: 459.2 kB / 362.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004654/0.2764, allocations: 2.412 MB / 364.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.2786, allocations: 0.9817 MB / 365.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.281, allocations: 1.129 MB / 366.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.2841, allocations: 1.331 MB / 368 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005966/0.2847, allocations: 284 kB / 368.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.2859, allocations: 407.7 kB / 368.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.2871, allocations: 0.8141 MB / 369.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.2889, allocations: 1.031 MB / 370.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006001/0.2949, allocations: 3.774 MB / 374.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2949, allocations: 4 kB / 374.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2949, allocations: 0 / 374.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.611e-05/0.295, allocations: 0 / 374.3 MB, free: 5.562 MB / 334.1 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.007865/0.3028, allocations: 2.652 MB / 377 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3029, allocations: 11.98 kB / 377 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.304, allocations: 279.3 kB / 377.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.3076, allocations: 1.251 MB / 378.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.3078, allocations: 135.7 kB / 378.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004607/0.3082, allocations: 188 kB / 378.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006542/0.3148, allocations: 2.54 MB / 381.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.212e-05/0.3148, allocations: 7.953 kB / 381.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.3151, allocations: 79.98 kB / 381.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.3153, allocations: 95.67 kB / 381.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.3208, allocations: 1.986 MB / 383.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.3367, allocations: 6.323 MB / 389.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.3389, allocations: 1.076 MB / 390.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.3406, allocations: 0.8147 MB / 391.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.3408, allocations: 44.91 kB / 391.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.342, allocations: 0.7957 MB / 392.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.895e-06/0.342, allocations: 0 / 392.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01636/0.3583, allocations: 7 MB / 399.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3585, allocations: 196.9 kB / 399.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.3604, allocations: 1.269 MB / 401.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.3605, allocations: 45.7 kB / 401.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009367/0.3614, allocations: 0.9652 MB / 402.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.3618, allocations: 440.3 kB / 402.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.3622, allocations: 243.5 kB / 402.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3624, allocations: 365.9 kB / 403.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3634, allocations: 0.6325 MB / 403.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3649, allocations: 1.107 MB / 404.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.3675, allocations: 1.708 MB / 406.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.3675, allocations: 4 kB / 406.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004081/0.3716, allocations: 2.25 MB / 408.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3716, allocations: 11.94 kB / 408.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.3717, allocations: 12 kB / 408.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3729, allocations: 496.1 kB / 409.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.374, allocations: 291.5 kB / 409.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/0.3817, allocations: 6.757 MB / 416.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3829, allocations: 91.91 kB / 416.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.3831, allocations: 56.05 kB / 416.5 MB, free: 10.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (148): * Single equations (assignments): 143 * 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.00113/0.3842, allocations: 0.6377 MB / 417.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.3846, allocations: 147.1 kB / 417.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.3884, allocations: 2.051 MB / 419.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3884, allocations: 15.94 kB / 419.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.3885, allocations: 8 kB / 419.3 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.3885, allocations: 11.95 kB / 419.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/0.396, allocations: 3.963 MB / 423.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.396, allocations: 4 kB / 423.3 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.3968, allocations: 187.8 kB / 423.5 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.3982, allocations: 0.5391 MB / 424 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.3983, allocations: 35.98 kB / 424.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008915/0.4072, allocations: 8.17 MB / 432.2 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4072, allocations: 7.938 kB / 432.3 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.4124, allocations: 3.001 MB / 435.3 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/0.4132, allocations: 286.9 kB / 435.5 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.4135, allocations: 31.98 kB / 435.6 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/0.4143, allocations: 71.92 kB / 435.6 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.4146, allocations: 108.7 kB / 435.7 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/0.4147, allocations: 35.98 kB / 435.8 MB, free: 6.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.416, allocations: 0.8658 MB / 436.6 MB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.416, allocations: 0 / 436.6 MB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001636/0.4176, allocations: 443.9 kB / 437.1 MB, free: 4.984 MB / 398.1 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%), (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.001963/0.4196, allocations: 0.5198 MB / 437.6 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.4232, allocations: 2.05 MB / 439.6 MB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4232, allocations: 0 / 439.6 MB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.4256, allocations: 1.404 MB / 441.1 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4274, allocations: 344.3 kB / 441.4 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.439, allocations: 4.29 MB / 445.7 MB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/0.4416, allocations: 1.133 MB / 446.8 MB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001645/0.4432, allocations: 299.8 kB / 447.1 MB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.4437, allocations: 104.5 kB / 447.2 MB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4437, allocations: 0 / 447.2 MB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.06147/0.5052, allocations: 23.63 MB / 470.8 MB, free: 2.949 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.652671901043504]