Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.94 kB / 307.2 MB, free: 0.8867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1186, allocations: 50.53 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01766/0.1363, allocations: 13.9 MB / 371.6 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1875/0.3239, allocations: 5.107 MB / 376.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.3269, allocations: 84.25 kB / 376.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.3308, allocations: 0.9912 MB / 377.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.3363, allocations: 1.264 MB / 379 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.3394, allocations: 0.9022 MB / 379.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.3461, allocations: 4.3 MB / 384.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004741/0.3509, allocations: 3.268 MB / 387.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.3546, allocations: 1.807 MB / 389.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.3591, allocations: 2.153 MB / 391.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.3608, allocations: 0.5046 MB / 392 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.364, allocations: 0.7837 MB / 392.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3651, allocations: 1.148 MB / 393.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003646/0.3687, allocations: 2.147 MB / 396 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007052/0.3758, allocations: 5.801 MB / 401.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3759, allocations: 3.938 kB / 401.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3759, allocations: 4 kB / 401.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.3761, allocations: 0 / 401.9 MB, free: 13.35 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.01502/0.3911, allocations: 4.506 MB / 406.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.268e-05/0.3912, allocations: 16.02 kB / 406.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.3962, allocations: 0.8056 MB / 407.2 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/0.4018, allocations: 2.387 MB / 409.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.4021, allocations: 242.4 kB / 409.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009043/0.403, allocations: 318.9 kB / 410.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00944/0.4125, allocations: 4.289 MB / 414.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-05/0.4126, allocations: 7.891 kB / 414.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.4129, allocations: 139.8 kB / 414.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.4131, allocations: 154.4 kB / 414.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.4205, allocations: 3.636 MB / 418.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02815/0.4486, allocations: 13.5 MB / 431.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008932/0.4576, allocations: 7.242 MB / 439.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/0.4611, allocations: 1.603 MB / 440.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00864/0.4698, allocations: 4.325 MB / 445 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.4714, allocations: 0.8728 MB / 445.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 6.442e-06/0.4714, allocations: 4 kB / 445.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01545/0.4869, allocations: 6.72 MB / 452.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.4871, allocations: 218.9 kB / 452.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/0.4916, allocations: 1.936 MB / 454.8 MB, free: 7.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.4919, allocations: 45.7 kB / 454.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.4941, allocations: 1.499 MB / 456.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/0.4949, allocations: 486.8 kB / 456.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/0.4958, allocations: 307.3 kB / 457.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.496, allocations: 301.1 kB / 457.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.4979, allocations: 0.6793 MB / 458.1 MB, free: 4.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.5004, allocations: 1.229 MB / 459.3 MB, free: 2.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004387/0.5048, allocations: 1.962 MB / 461.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.5048, allocations: 4 kB / 461.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006862/0.5117, allocations: 2.524 MB / 463.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.5118, allocations: 12 kB / 463.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/0.5118, allocations: 16 kB / 463.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.5131, allocations: 351.2 kB / 464.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5153, allocations: 371.4 kB / 464.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.5258, allocations: 6.797 MB / 471.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.5282, allocations: 99.86 kB / 471.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.5286, allocations: 75.98 kB / 471.5 MB, free: 5.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003106/0.5317, allocations: 1.036 MB / 472.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007505/0.5325, allocations: 205.5 kB / 472.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.5391, allocations: 2.341 MB / 475.1 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.5391, allocations: 19.94 kB / 475.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/0.5392, allocations: 7.938 kB / 475.1 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.5392, allocations: 11.97 kB / 475.1 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.5537, allocations: 5.243 MB / 480.3 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.5537, allocations: 0 / 480.3 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5549, allocations: 183.7 kB / 480.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.5569, allocations: 0.4999 MB / 481 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.5572, allocations: 43.97 kB / 481.1 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.5718, allocations: 11.58 MB / 492.6 MB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5718, allocations: 4.375 kB / 492.6 MB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/0.5781, allocations: 3.245 MB / 495.9 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.5792, allocations: 438.4 kB / 496.3 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/0.5798, allocations: 35.98 kB / 496.4 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.5809, allocations: 75.83 kB / 496.4 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.5812, allocations: 97.16 kB / 496.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.756e-05/0.5813, allocations: 39.98 kB / 496.6 MB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.5835, allocations: 1.331 MB / 497.9 MB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5835, allocations: 0 / 497.9 MB, free: 10.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002281/0.5858, allocations: 0.5939 MB / 498.5 MB, free: 9.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (99): * Single equations (assignments): 92 * 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,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.001715/0.5875, allocations: 487.5 kB / 499 MB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.593, allocations: 2.625 MB / 0.4898 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.5931, allocations: 4.25 kB / 0.4898 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.5957, allocations: 1.604 MB / 0.4914 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.5985, allocations: 0.564 MB / 0.492 GB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.6108, allocations: 7.206 MB / 0.499 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.6133, allocations: 2.314 MB / 0.5012 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/0.614, allocations: 155.4 kB / 0.5014 GB, free: 10.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.614, allocations: 3.938 kB / 0.5014 GB, free: 10.96 MB / 430.1 MB Notification: Performance of Templates: time 0.2559/0.87, allocations: 115 MB / 0.6137 GB, free: 75.24 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches