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.001786/0.001786, allocations: 88 kB / 21.44 MB, free: 276 kB / 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.002588/0.002588, allocations: 160.9 kB / 24.7 MB, free: 3.531 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.305/1.305, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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.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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.382e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0114/0.01142, allocations: 8.365 MB / 307.3 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006364/0.01779, allocations: 3.226 MB / 310.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008604/0.01865, allocations: 51.62 kB / 310.6 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.02036, allocations: 0.7221 MB / 311.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.02237, allocations: 0.8772 MB / 312.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.02337, allocations: 467 kB / 312.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002652/0.02603, allocations: 2.505 MB / 315.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.02737, allocations: 0.9816 MB / 316.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.02938, allocations: 1.61 MB / 317.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.03115, allocations: 1.212 MB / 319 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003944/0.03155, allocations: 280 kB / 319.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.0323, allocations: 407.7 kB / 319.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008621/0.03316, allocations: 0.8296 MB / 320.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.03423, allocations: 0.8808 MB / 321.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1494/0.1837, allocations: 3.778 MB / 325.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1837, allocations: 0 / 325.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1837, allocations: 0 / 325.1 MB, free: 20.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.98e-05/0.1838, allocations: 1.344 kB / 325.1 MB, free: 20.35 MB / 302.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.005077/0.1888, allocations: 2.627 MB / 327.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1889, allocations: 13.27 kB / 327.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/0.1896, allocations: 279.3 kB / 328.1 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1917, allocations: 1.242 MB / 329.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.1918, allocations: 139.6 kB / 329.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.1921, allocations: 195.2 kB / 329.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.1962, allocations: 2.542 MB / 332.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.1963, allocations: 3.484 kB / 332.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.1965, allocations: 78.41 kB / 332.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.1966, allocations: 97 kB / 332.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.1997, allocations: 1.983 MB / 334.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.2097, allocations: 6.324 MB / 340.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2115, allocations: 1.06 MB / 341.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.2129, allocations: 0.8236 MB / 342.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.2131, allocations: 52.39 kB / 342.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/0.2141, allocations: 0.7873 MB / 343.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.2141, allocations: 0 / 343.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01392/0.228, allocations: 7.025 MB / 350.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.228, allocations: 196.4 kB / 350.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.2294, allocations: 1.269 MB / 351.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.2295, allocations: 45.7 kB / 351.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.23, allocations: 0.9569 MB / 352.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.2303, allocations: 440.3 kB / 353.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.2306, allocations: 247.5 kB / 353.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.2307, allocations: 365.9 kB / 353.9 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.2314, allocations: 0.6325 MB / 354.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.2324, allocations: 1.103 MB / 355.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.2341, allocations: 1.706 MB / 357.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2341, allocations: 8 kB / 357.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003059/0.2372, allocations: 2.239 MB / 359.6 MB, free: 456 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2372, allocations: 15.06 kB / 359.6 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2372, allocations: 12.88 kB / 359.6 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.2383, allocations: 0.4887 MB / 360.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2394, allocations: 292.4 kB / 360.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007927/0.2473, allocations: 6.767 MB / 367.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.2487, allocations: 83.92 kB / 367.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.2488, allocations: 55.98 kB / 367.3 MB, free: 8.496 MB / 318.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.00121/0.25, allocations: 0.6315 MB / 367.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.2503, allocations: 147.6 kB / 368.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.2544, allocations: 2.055 MB / 370.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2544, allocations: 13.42 kB / 370.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.2544, allocations: 8 kB / 370.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.2544, allocations: 3.984 kB / 370.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/0.2621, allocations: 3.958 MB / 374.1 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2621, allocations: 11.47 kB / 374.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.2629, allocations: 198.5 kB / 374.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.2644, allocations: 0.5301 MB / 374.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.516e-05/0.2645, allocations: 35.98 kB / 374.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009256/0.2738, allocations: 8.151 MB / 383 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.2738, allocations: 7.203 kB / 383 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.2791, allocations: 3.002 MB / 386 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/0.28, allocations: 282.9 kB / 386.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.2803, allocations: 31.98 kB / 386.3 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.2811, allocations: 86.22 kB / 386.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/0.2814, allocations: 106.9 kB / 386.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.2815, allocations: 35.98 kB / 386.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.2829, allocations: 0.862 MB / 387.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2829, allocations: 0 / 387.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001683/0.2846, allocations: 447.9 kB / 387.8 MB, free: 3.48 MB / 334.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.001945/0.2865, allocations: 0.5156 MB / 388.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003888/0.2904, allocations: 2.034 MB / 390.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2904, allocations: 0 / 390.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.2928, allocations: 1.399 MB / 391.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.2947, allocations: 367.9 kB / 392.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.3018, allocations: 4.092 MB / 396.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.3032, allocations: 1.128 MB / 397.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008979/0.3041, allocations: 301.8 kB / 397.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.3044, allocations: 108.5 kB / 397.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3044, allocations: 0 / 397.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of Templates: time 0.04211/0.3465, allocations: 23.45 MB / 421.2 MB, free: 2.016 MB / 366.1 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=480 -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/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","/var/lib/jenkins/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.18695230036974]