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.001199/0.001199, allocations: 107.3 kB / 18.35 MB, free: 4.512 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.001178/0.001178, allocations: 192 kB / 19.29 MB, free: 3.578 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.34/1.34, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001337/0.001337, allocations: 47.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09063, allocations: 46.62 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.0155/0.1062, allocations: 13.39 MB / 342.1 MB, free: 6.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00905/0.1153, allocations: 4.747 MB / 346.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.1175, allocations: 71.69 kB / 346.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.1202, allocations: 1.091 MB / 348 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003861/0.1241, allocations: 1.371 MB / 349.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1262, allocations: 0.9779 MB / 350.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004615/0.1308, allocations: 4.067 MB / 354.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/0.1343, allocations: 3.217 MB / 357.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.1369, allocations: 1.9 MB / 359.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.1397, allocations: 2.168 MB / 361.7 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006473/0.1404, allocations: 0.5078 MB / 362.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1417, allocations: 0.7458 MB / 363 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009077/0.1427, allocations: 1.141 MB / 364.1 MB, free: 188 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.1447, allocations: 2.143 MB / 366.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006062/0.1508, allocations: 6.789 MB / 373.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1508, allocations: 0 / 373.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1509, allocations: 0 / 373.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.151, allocations: 0 / 373.1 MB, free: 7.223 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.01082/0.1619, allocations: 4.487 MB / 377.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1619, allocations: 8.031 kB / 377.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.1662, allocations: 0.8162 MB / 378.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1776/0.3438, allocations: 2.319 MB / 380.7 MB, free: 48.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/0.3442, allocations: 238.7 kB / 380.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.3455, allocations: 323.6 kB / 381.2 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.3558, allocations: 4.284 MB / 385.5 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.84e-05/0.3559, allocations: 8.469 kB / 385.5 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.3562, allocations: 129.6 kB / 385.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.3564, allocations: 154.7 kB / 385.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/0.3639, allocations: 3.619 MB / 389.4 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.3839, allocations: 13.26 MB / 402.7 MB, free: 36.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.3889, allocations: 6.948 MB / 409.6 MB, free: 30.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.3907, allocations: 1.383 MB / 411 MB, free: 29.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005144/0.3959, allocations: 3.818 MB / 414.8 MB, free: 25.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.397, allocations: 0.8609 MB / 415.7 MB, free: 24.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.524e-06/0.397, allocations: 0 / 415.7 MB, free: 24.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.009826/0.4068, allocations: 6.495 MB / 422.2 MB, free: 18.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.4069, allocations: 218.9 kB / 422.4 MB, free: 17.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.4091, allocations: 1.914 MB / 424.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.4091, allocations: 53.7 kB / 424.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009802/0.4101, allocations: 1.475 MB / 425.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.4104, allocations: 484.2 kB / 426.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.4108, allocations: 315.3 kB / 426.6 MB, free: 13.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.4109, allocations: 305.1 kB / 426.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/0.4118, allocations: 0.6559 MB / 427.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.4129, allocations: 1.214 MB / 428.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.4149, allocations: 1.935 MB / 430.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.4149, allocations: 4 kB / 430.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003205/0.4181, allocations: 2.429 MB / 433.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4181, allocations: 12 kB / 433.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4182, allocations: 16 kB / 433.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.4188, allocations: 292.6 kB / 433.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4201, allocations: 379.4 kB / 433.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.4245, allocations: 6.386 MB / 440.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4259, allocations: 87.95 kB / 440.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.426, allocations: 71.98 kB / 440.4 MB, free: 14.98 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.001889/0.4279, allocations: 1.043 MB / 441.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.4282, allocations: 197.8 kB / 441.6 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.432, allocations: 2.238 MB / 443.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.432, allocations: 20 kB / 443.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.432, allocations: 8 kB / 443.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.432, allocations: 7.969 kB / 443.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/0.4401, allocations: 5.095 MB / 449 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4401, allocations: 0 / 449 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.4409, allocations: 187.7 kB / 449.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.4421, allocations: 462.6 kB / 449.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.4422, allocations: 39.97 kB / 449.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.4523, allocations: 11.13 MB / 460.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4524, allocations: 3.984 kB / 460.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.4575, allocations: 3.146 MB / 463.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4586, allocations: 426.5 kB / 464.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.4589, allocations: 40.11 kB / 464.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.4597, allocations: 63.95 kB / 464.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.46, allocations: 105.2 kB / 464.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.4601, allocations: 36 kB / 464.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.4621, allocations: 1.315 MB / 465.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4621, allocations: 0 / 465.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002213/0.4643, allocations: 0.5808 MB / 466.5 MB, free: 3.926 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.001212/0.4656, allocations: 472.9 kB / 467 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.4693, allocations: 2.174 MB / 469.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4693, allocations: 0 / 469.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.4717, allocations: 1.579 MB / 470.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.474, allocations: 0.5368 MB / 471.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009503/0.4835, allocations: 5.78 MB / 477 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.4856, allocations: 2.344 MB / 479.4 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.4869, allocations: 409 kB / 479.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.4873, allocations: 139.4 kB / 479.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4873, allocations: 0 / 479.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of Templates: time 0.04999/0.5373, allocations: 29.95 MB / 0.4979 GB, free: 8.367 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 cvode -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