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.001064/0.001064, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001234/0.001235, allocations: 192 kB / 18.51 MB, free: 4.508 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.357/1.357, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001189/0.001189, allocations: 47.92 kB / 280.7 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08654, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01535/0.1019, allocations: 13.39 MB / 340.7 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009937/0.1119, allocations: 4.736 MB / 345.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.114, allocations: 71.69 kB / 345.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.1171, allocations: 1.095 MB / 346.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.1213, allocations: 1.371 MB / 347.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1239, allocations: 0.974 MB / 348.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004833/0.1288, allocations: 4.047 MB / 353 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.1333, allocations: 3.205 MB / 356.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.1361, allocations: 1.9 MB / 358.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.1392, allocations: 2.156 MB / 360.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.1403, allocations: 0.5078 MB / 360.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.1424, allocations: 0.7575 MB / 361.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.1439, allocations: 1.149 MB / 362.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003788/0.1477, allocations: 2.135 MB / 364.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007132/0.1549, allocations: 6.742 MB / 371.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1549, allocations: 0 / 371.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1549, allocations: 4 kB / 371.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.1551, allocations: 0 / 371.5 MB, free: 7.992 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.01086/0.1659, allocations: 4.483 MB / 376 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.166, allocations: 8.031 kB / 376 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.1702, allocations: 0.8318 MB / 376.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/0.1741, allocations: 2.295 MB / 379.1 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1743, allocations: 238.4 kB / 379.4 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1413/0.3156, allocations: 317.7 kB / 379.7 MB, free: 49.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.3263, allocations: 4.28 MB / 384 MB, free: 47.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.3265, allocations: 7.406 kB / 384 MB, free: 47.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/0.3271, allocations: 132 kB / 384.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.3273, allocations: 153.4 kB / 384.3 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006737/0.334, allocations: 3.619 MB / 387.9 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.3506, allocations: 13.43 MB / 401.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.3554, allocations: 6.952 MB / 408.3 MB, free: 31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.3571, allocations: 1.38 MB / 409.6 MB, free: 30.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004866/0.362, allocations: 3.848 MB / 413.5 MB, free: 26.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000981/0.363, allocations: 0.8431 MB / 414.3 MB, free: 25.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.779e-06/0.363, allocations: 0 / 414.3 MB, free: 25.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.0106/0.3736, allocations: 6.507 MB / 420.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3737, allocations: 222.5 kB / 421 MB, free: 18.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.3763, allocations: 1.911 MB / 423 MB, free: 16.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3764, allocations: 53.64 kB / 423 MB, free: 16.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009241/0.3774, allocations: 1.474 MB / 424.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.3777, allocations: 484 kB / 425 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.3781, allocations: 311.3 kB / 425.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.3781, allocations: 313.1 kB / 425.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/0.379, allocations: 0.6559 MB / 426.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.3801, allocations: 1.214 MB / 427.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.382, allocations: 1.937 MB / 429.4 MB, free: 10 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.382, allocations: 4 kB / 429.4 MB, free: 9.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003177/0.3852, allocations: 2.42 MB / 431.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3853, allocations: 12 kB / 431.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3853, allocations: 23.91 kB / 431.8 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.3859, allocations: 290.8 kB / 432.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3872, allocations: 383.4 kB / 432.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.3913, allocations: 6.382 MB / 438.9 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.3931, allocations: 92 kB / 439 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.3933, allocations: 77.08 kB / 439 MB, free: 15.88 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.001829/0.3951, allocations: 1.039 MB / 440.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.3956, allocations: 197.6 kB / 440.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.3998, allocations: 2.242 MB / 442.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3998, allocations: 15.94 kB / 442.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.3998, allocations: 8 kB / 442.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.3999, allocations: 7.969 kB / 442.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/0.4084, allocations: 5.105 MB / 447.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4085, allocations: 4 kB / 447.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.4092, allocations: 187.8 kB / 447.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4105, allocations: 465.3 kB / 448.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.847e-05/0.4106, allocations: 35.98 kB / 448.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.4214, allocations: 11.15 MB / 459.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4214, allocations: 0 / 459.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/0.4264, allocations: 3.133 MB / 462.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009061/0.4273, allocations: 430.5 kB / 463 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.4278, allocations: 35.94 kB / 463.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.4288, allocations: 65.7 kB / 463.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.4291, allocations: 105.2 kB / 463.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.4292, allocations: 36 kB / 463.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.4314, allocations: 1.323 MB / 464.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4314, allocations: 0 / 464.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002772/0.4342, allocations: 0.5769 MB / 465.2 MB, free: 4.809 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.001291/0.4355, allocations: 476.5 kB / 465.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005447/0.441, allocations: 2.575 MB / 468.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.441, allocations: 0 / 468.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4435, allocations: 1.578 MB / 469.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.4463, allocations: 0.5488 MB / 470.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.4564, allocations: 5.848 MB / 476.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.4588, allocations: 2.348 MB / 478.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.4603, allocations: 409 kB / 478.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.4608, allocations: 139.4 kB / 479.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4608, allocations: 0 / 479.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of Templates: time 0.05373/0.5145, allocations: 30.02 MB / 0.4972 GB, free: 8.707 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 -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/jenkins/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/jenkins/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