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.001949/0.001949, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002496/0.002496, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.576/1.576, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [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.001954/0.001954, allocations: 55.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3038, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.009823/0.3136, allocations: 9.513 MB / 405.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007331/0.321, allocations: 3.425 MB / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.3227, allocations: 54.94 kB / 409.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.3251, allocations: 0.7722 MB / 410.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.3286, allocations: 0.8528 MB / 411 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3302, allocations: 458.9 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.3343, allocations: 2.426 MB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.3362, allocations: 1.023 MB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3383, allocations: 1.118 MB / 416 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.3412, allocations: 1.436 MB / 417.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008039/0.342, allocations: 279.3 kB / 417.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.3436, allocations: 410 kB / 418.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.3452, allocations: 0.8175 MB / 418.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.3481, allocations: 1.277 MB / 420.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.3534, allocations: 3.745 MB / 423.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3534, allocations: 3.938 kB / 424 MB, free: 6.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3534, allocations: 0 / 424 MB, free: 6.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.3535, allocations: 0 / 424 MB, free: 6.742 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.007212/0.3607, allocations: 2.649 MB / 426.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.3608, allocations: 17.69 kB / 426.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004973/0.3613, allocations: 281.1 kB / 426.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000928/0.3622, allocations: 291.2 kB / 427.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.3648, allocations: 1.235 MB / 428.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3649, allocations: 139.7 kB / 428.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.3652, allocations: 191.9 kB / 428.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004106/0.3693, allocations: 2.436 MB / 431.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.3693, allocations: 7.953 kB / 431.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.3695, allocations: 80 kB / 431.3 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.3696, allocations: 103.6 kB / 431.4 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.3731, allocations: 1.978 MB / 433.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.3854, allocations: 7.198 MB / 440.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3872, allocations: 1.063 MB / 441.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.3888, allocations: 0.8302 MB / 442.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.389, allocations: 44.91 kB / 442.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.3901, allocations: 0.6836 MB / 443.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.305e-06/0.3901, allocations: 0 / 443.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01614/0.4062, allocations: 7.012 MB / 450.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4064, allocations: 192.9 kB / 450.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.4087, allocations: 1.426 MB / 451.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4089, allocations: 49.7 kB / 451.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009/0.4098, allocations: 0.9467 MB / 452.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/0.4102, allocations: 444.3 kB / 453.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.4106, allocations: 243.5 kB / 453.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4107, allocations: 361.9 kB / 453.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4118, allocations: 0.6286 MB / 454.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.4131, allocations: 1.018 MB / 455.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4156, allocations: 1.696 MB / 457.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.4156, allocations: 4 kB / 457.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004121/0.4197, allocations: 2.265 MB / 459.4 MB, free: 3.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.4198, allocations: 12.03 kB / 459.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.4198, allocations: 8 kB / 459.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.421, allocations: 499.9 kB / 459.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4222, allocations: 291.5 kB / 460.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008092/0.4302, allocations: 6.884 MB / 467.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4317, allocations: 95.84 kB / 467.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.4319, allocations: 55.98 kB / 467.2 MB, free: 11.18 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.001326/0.4332, allocations: 0.6301 MB / 467.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.4336, allocations: 166.9 kB / 468 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.4376, allocations: 2.056 MB / 470.1 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.4376, allocations: 19.98 kB / 470.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.4377, allocations: 4 kB / 470.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4377, allocations: 7.969 kB / 470.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009033/0.4467, allocations: 4.417 MB / 474.5 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.4467, allocations: 4 kB / 474.5 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/0.4476, allocations: 192.1 kB / 474.7 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.4491, allocations: 0.531 MB / 475.3 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.4492, allocations: 35.98 kB / 475.3 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009569/0.4587, allocations: 8.321 MB / 483.6 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.4587, allocations: 7.984 kB / 483.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.4644, allocations: 3.009 MB / 486.6 MB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.4654, allocations: 302.8 kB / 486.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/0.4659, allocations: 39.92 kB / 487 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.4669, allocations: 71.94 kB / 487 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/0.4672, allocations: 100.7 kB / 487.1 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.4673, allocations: 43.98 kB / 487.2 MB, free: 6.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001875/0.4691, allocations: 0.9753 MB / 488.2 MB, free: 5.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4691, allocations: 4 kB / 488.2 MB, free: 5.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001972/0.4711, allocations: 447.9 kB / 488.6 MB, free: 5.117 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 (105): * Single equations (assignments): 98 * 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.007487/0.4786, allocations: 3.95 MB / 492.5 MB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004127/0.4827, allocations: 2.039 MB / 494.6 MB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.4827, allocations: 7.938 kB / 494.6 MB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.4853, allocations: 1.388 MB / 496 MB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.4878, allocations: 424.2 kB / 496.4 MB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/0.5152, allocations: 16.07 MB / 0.5005 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.5171, allocations: 1.702 MB / 0.5021 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.5184, allocations: 321 kB / 0.5024 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.5196, allocations: 0.7414 MB / 0.5031 GB, free: 9.711 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5196, allocations: 0 / 0.5031 GB, free: 9.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/0.6413, allocations: 42.82 MB / 0.545 GB, free: 14.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.09, allocations: 7.906 kB / 0.545 GB, free: 14.71 MB / 478.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] 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 646] Reference file matches [Calling sys.exit(0), Time elapsed: 46.6498218991328]