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.001155/0.001155, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.00104/0.00104, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.317/1.317, allocations: 205.1 MB / 225.1 MB, free: 12.27 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.002141/0.002141, allocations: 55.88 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.107, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.02138/0.1284, allocations: 13.39 MB / 342.1 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1399, allocations: 4.744 MB / 346.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.1421, allocations: 71.69 kB / 346.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.1459, allocations: 1.091 MB / 348 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.151, allocations: 1.371 MB / 349.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.1543, allocations: 0.9742 MB / 350.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0047/0.159, allocations: 4.067 MB / 354.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.1623, allocations: 3.213 MB / 357.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1646, allocations: 1.904 MB / 359.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.1671, allocations: 2.164 MB / 361.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006219/0.1678, allocations: 0.5078 MB / 362.2 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.169, allocations: 0.7458 MB / 363 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009603/0.17, allocations: 1.141 MB / 364.1 MB, free: 168 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.172, allocations: 2.147 MB / 366.3 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.1781, allocations: 6.788 MB / 373 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1782, allocations: 3.938 kB / 373 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1782, allocations: 4 kB / 373 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000126/0.1783, allocations: 0 / 373 MB, free: 7.191 MB / 318.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.009872/0.1882, allocations: 4.48 MB / 377.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1882, allocations: 16.03 kB / 377.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.1923, allocations: 0.8201 MB / 378.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1448/0.3371, allocations: 2.315 MB / 380.7 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3374, allocations: 240.6 kB / 380.9 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006624/0.338, allocations: 323.8 kB / 381.2 MB, free: 48.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006902/0.3449, allocations: 4.276 MB / 385.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.9e-05/0.345, allocations: 7.312 kB / 385.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.3453, allocations: 126.9 kB / 385.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.3455, allocations: 157.4 kB / 385.8 MB, free: 46.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005758/0.3512, allocations: 3.617 MB / 389.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.3668, allocations: 13.26 MB / 402.7 MB, free: 36.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.3715, allocations: 6.957 MB / 409.6 MB, free: 30.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.3733, allocations: 1.381 MB / 411 MB, free: 29.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004701/0.3781, allocations: 3.821 MB / 414.8 MB, free: 25.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.3791, allocations: 0.8475 MB / 415.7 MB, free: 24.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.416e-06/0.3792, allocations: 0 / 415.7 MB, free: 24.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01016/0.3893, allocations: 6.5 MB / 422.2 MB, free: 18.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.3894, allocations: 230.9 kB / 422.4 MB, free: 17.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.3916, allocations: 1.91 MB / 424.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/0.3917, allocations: 49.7 kB / 424.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009262/0.3927, allocations: 1.474 MB / 425.8 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3929, allocations: 493.5 kB / 426.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.3933, allocations: 303.3 kB / 426.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.3933, allocations: 302.2 kB / 426.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/0.3942, allocations: 0.6637 MB / 427.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3953, allocations: 1.214 MB / 428.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.3972, allocations: 1.934 MB / 430.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3973, allocations: 4 kB / 430.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003019/0.4003, allocations: 2.424 MB / 433.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4003, allocations: 12 kB / 433.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.4003, allocations: 12 kB / 433.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.4009, allocations: 292.6 kB / 433.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4022, allocations: 384.1 kB / 433.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.4066, allocations: 6.38 MB / 440.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.4078, allocations: 95.78 kB / 440.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4079, allocations: 72 kB / 440.4 MB, free: 14.92 MB / 334.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.001585/0.4095, allocations: 1.039 MB / 441.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.4097, allocations: 197.6 kB / 441.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4135, allocations: 2.25 MB / 443.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4135, allocations: 12 kB / 443.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4135, allocations: 8.188 kB / 443.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4135, allocations: 3.984 kB / 443.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007635/0.4212, allocations: 5.098 MB / 449 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.4212, allocations: 4 kB / 449 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/0.422, allocations: 179.7 kB / 449.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.4232, allocations: 466.7 kB / 449.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.4233, allocations: 39.98 kB / 449.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/0.4337, allocations: 11.12 MB / 460.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4337, allocations: 0 / 460.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.4386, allocations: 3.146 MB / 463.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/0.4396, allocations: 430.5 kB / 464.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/0.44, allocations: 32 kB / 464.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.4409, allocations: 59.95 kB / 464.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.4412, allocations: 109.3 kB / 464.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/0.4413, allocations: 43.98 kB / 464.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.4434, allocations: 1.315 MB / 465.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4434, allocations: 0 / 465.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002116/0.4455, allocations: 0.5768 MB / 466.5 MB, free: 3.867 MB / 350.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.001126/0.4466, allocations: 477.8 kB / 466.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.45, allocations: 2.178 MB / 469.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.45, allocations: 0 / 469.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.4524, allocations: 1.574 MB / 470.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.4546, allocations: 0.5368 MB / 471.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009739/0.4643, allocations: 5.784 MB / 477 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/0.4667, allocations: 2.344 MB / 479.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001271/0.468, allocations: 405 kB / 479.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.4683, allocations: 135.4 kB / 479.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4683, allocations: 0 / 479.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of Templates: time 0.05001/0.5184, allocations: 29.96 MB / 0.4979 GB, free: 8.309 MB / 398.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 -s gbode -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