Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 105.5 kB / 18.4 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 191 kB / 19.33 MB, free: 3.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1093, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.2521/0.3614, allocations: 13.37 MB / 389.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009558/0.371, allocations: 4.761 MB / 394 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.3743, allocations: 67.88 kB / 394 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.3776, allocations: 1.102 MB / 395.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.3825, allocations: 1.363 MB / 396.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.3851, allocations: 0.9706 MB / 397.5 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.3918, allocations: 4.062 MB / 401.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00452/0.3964, allocations: 3.215 MB / 404.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.4006, allocations: 1.919 MB / 406.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.4056, allocations: 2.164 MB / 408.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.4071, allocations: 0.5089 MB / 409.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.4098, allocations: 0.7485 MB / 410.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.4111, allocations: 1.145 MB / 411.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003773/0.4149, allocations: 2.146 MB / 413.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008761/0.4237, allocations: 6.779 MB / 420.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4237, allocations: 0 / 420.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4238, allocations: 0 / 420.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.424, allocations: 0 / 420.2 MB, free: 3.305 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01308/0.437, allocations: 4.496 MB / 424.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4371, allocations: 8.031 kB / 424.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/0.4414, allocations: 0.8201 MB / 425.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004952/0.4464, allocations: 2.323 MB / 427.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.4466, allocations: 242.4 kB / 428 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.4473, allocations: 323.9 kB / 428.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008026/0.4553, allocations: 4.284 MB / 432.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/0.4554, allocations: 0 / 432.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.4558, allocations: 136 kB / 432.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.4559, allocations: 150.4 kB / 432.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006259/0.4622, allocations: 3.613 MB / 436.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.4832, allocations: 13.25 MB / 449.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006837/0.4901, allocations: 6.97 MB / 456.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.4924, allocations: 1.359 MB / 458.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006699/0.4991, allocations: 3.82 MB / 461.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.5005, allocations: 0.8493 MB / 462.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.446e-06/0.5005, allocations: 0 / 462.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01303/0.5136, allocations: 6.501 MB / 469.3 MB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.5137, allocations: 218.9 kB / 469.5 MB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.5174, allocations: 1.914 MB / 471.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.5176, allocations: 45.7 kB / 471.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.5192, allocations: 1.478 MB / 472.9 MB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.5197, allocations: 489 kB / 473.4 MB, free: 12.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/0.5203, allocations: 311.3 kB / 473.7 MB, free: 11.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5205, allocations: 309.1 kB / 474 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.5217, allocations: 0.6598 MB / 474.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.5233, allocations: 1.218 MB / 475.9 MB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.5261, allocations: 1.932 MB / 477.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.5261, allocations: 4 kB / 477.8 MB, free: 7.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004196/0.5303, allocations: 2.424 MB / 480.2 MB, free: 4.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.5303, allocations: 12 kB / 480.3 MB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.5304, allocations: 16 kB / 480.3 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007712/0.5311, allocations: 299.4 kB / 480.6 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.5326, allocations: 375.4 kB / 480.9 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.539, allocations: 6.379 MB / 487.3 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.5407, allocations: 92.02 kB / 487.4 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.5409, allocations: 75.92 kB / 487.5 MB, free: 13.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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 {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002033/0.5429, allocations: 1.033 MB / 488.5 MB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/0.5435, allocations: 197.6 kB / 488.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.5475, allocations: 2.25 MB / 491 MB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.5475, allocations: 19.94 kB / 491 MB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.5475, allocations: 8 kB / 491 MB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.5476, allocations: 11.97 kB / 491 MB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/0.5568, allocations: 5.077 MB / 496.1 MB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5568, allocations: 0 / 496.1 MB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.5576, allocations: 195.8 kB / 496.3 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.5589, allocations: 460.3 kB / 496.7 MB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.559, allocations: 39.92 kB / 496.7 MB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.5699, allocations: 11.13 MB / 0.496 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5699, allocations: 3.984 kB / 0.496 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.5752, allocations: 3.136 MB / 0.499 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.5763, allocations: 430.5 kB / 0.4995 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/0.5769, allocations: 40.03 kB / 0.4995 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.578, allocations: 67.94 kB / 0.4996 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.5782, allocations: 101.2 kB / 0.4997 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.5783, allocations: 36 kB / 0.4997 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.5807, allocations: 1.315 MB / 0.501 GB, free: 2.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5807, allocations: 0 / 0.501 GB, free: 2.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00251/0.5833, allocations: 0.5859 MB / 0.5015 GB, free: 2.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (102): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.5845, allocations: 480.7 kB / 0.502 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.5889, allocations: 2.168 MB / 0.5041 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5889, allocations: 0 / 0.5041 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.5915, allocations: 1.598 MB / 0.5057 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.5947, allocations: 0.5368 MB / 0.5062 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.607, allocations: 5.757 MB / 0.5118 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/0.6101, allocations: 2.305 MB / 0.5141 GB, free: 5.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.6107, allocations: 143.4 kB / 0.5142 GB, free: 4.898 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6108, allocations: 0 / 0.5142 GB, free: 4.898 MB / 446.1 MB Notification: Performance of Templates: time 0.3258/0.9366, allocations: 114.7 MB / 0.6262 GB, free: 94.14 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches