Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 114.4 kB / 17.69 MB, free: 5.297 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.001154/0.001154, allocations: 191 kB / 18.63 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 51.77 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09445, allocations: 49.44 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0151/0.1096, allocations: 13.43 MB / 365 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009071/0.1187, allocations: 4.848 MB / 369.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.1212, allocations: 83.69 kB / 369.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.1243, allocations: 1.091 MB / 371 MB, free: 140 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1702/0.2946, allocations: 1.37 MB / 372.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.2974, allocations: 0.9719 MB / 373.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005967/0.3034, allocations: 4.071 MB / 377.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/0.3071, allocations: 3.257 MB / 380.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.3104, allocations: 1.914 MB / 382.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.3141, allocations: 2.161 MB / 384.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009852/0.3151, allocations: 0.5085 MB / 385.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.3173, allocations: 0.7524 MB / 386 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.3183, allocations: 1.143 MB / 387.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.3213, allocations: 2.147 MB / 389.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006765/0.328, allocations: 6.804 MB / 396.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3281, allocations: 0 / 396.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3281, allocations: 0 / 396.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001592/0.3283, allocations: 0 / 396.1 MB, free: 2.777 MB / 302.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.01142/0.3397, allocations: 4.491 MB / 400.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3397, allocations: 15.22 kB / 400.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.344, allocations: 0.8207 MB / 401.4 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/0.3489, allocations: 2.457 MB / 403.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.3491, allocations: 245.3 kB / 404.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.3497, allocations: 322.2 kB / 404.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007158/0.3568, allocations: 4.294 MB / 408.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.3569, allocations: 3.906 kB / 408.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.3572, allocations: 128 kB / 408.8 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.3574, allocations: 150.4 kB / 409 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005911/0.3633, allocations: 3.633 MB / 412.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/0.3834, allocations: 13.24 MB / 425.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006287/0.3897, allocations: 6.951 MB / 432.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.3919, allocations: 1.385 MB / 434.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006833/0.3987, allocations: 3.84 MB / 438 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.4001, allocations: 0.8532 MB / 438.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 4.218e-06/0.4001, allocations: 4 kB / 438.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.0128/0.4129, allocations: 6.528 MB / 445.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.413, allocations: 226.9 kB / 445.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.4162, allocations: 1.899 MB / 447.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4164, allocations: 49.7 kB / 447.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.4179, allocations: 1.484 MB / 449.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.4183, allocations: 484.1 kB / 449.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.4188, allocations: 307.3 kB / 449.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.4189, allocations: 309.1 kB / 450.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4201, allocations: 0.6637 MB / 450.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4217, allocations: 1.215 MB / 452 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.4244, allocations: 1.936 MB / 454 MB, free: 9.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.4245, allocations: 4 kB / 454 MB, free: 9.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004209/0.4287, allocations: 2.432 MB / 456.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.4287, allocations: 12 kB / 456.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.4288, allocations: 16 kB / 456.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007759/0.4295, allocations: 287.5 kB / 456.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.431, allocations: 379.4 kB / 457.1 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.4369, allocations: 6.382 MB / 463.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4386, allocations: 95.92 kB / 463.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.4389, allocations: 71.94 kB / 463.6 MB, free: 14.9 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 (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.002/0.4409, allocations: 1.036 MB / 464.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005085/0.4414, allocations: 197.6 kB / 464.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/0.4456, allocations: 2.257 MB / 467.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4457, allocations: 19.94 kB / 467.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.4457, allocations: 11.94 kB / 467.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4457, allocations: 7.969 kB / 467.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.4547, allocations: 5.104 MB / 472.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4548, allocations: 0 / 472.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.4556, allocations: 179.8 kB / 472.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4568, allocations: 468 kB / 472.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.4569, allocations: 39.98 kB / 472.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.4671, allocations: 11.15 MB / 484.1 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4672, allocations: 3.938 kB / 484.1 MB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.4722, allocations: 3.136 MB / 487.2 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.4733, allocations: 430.5 kB / 487.6 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/0.4738, allocations: 32 kB / 487.7 MB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4748, allocations: 71.83 kB / 487.7 MB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.4751, allocations: 101.2 kB / 487.8 MB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.4752, allocations: 43.98 kB / 487.9 MB, free: 5.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002186/0.4774, allocations: 1.311 MB / 489.2 MB, free: 4.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4774, allocations: 0 / 489.2 MB, free: 4.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002207/0.4796, allocations: 0.5821 MB / 489.8 MB, free: 3.797 MB / 398.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 (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.001107/0.4807, allocations: 484 kB / 490.2 MB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.4841, allocations: 2.181 MB / 492.4 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4841, allocations: 0 / 492.4 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.4864, allocations: 1.571 MB / 494 MB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.4888, allocations: 0.5417 MB / 494.5 MB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.4986, allocations: 5.78 MB / 0.4886 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/0.501, allocations: 2.352 MB / 0.4909 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001294/0.5023, allocations: 409 kB / 0.4913 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.5027, allocations: 135.4 kB / 0.4914 GB, free: 6.352 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5027, allocations: 0 / 0.4914 GB, free: 6.352 MB / 414.1 MB Notification: Performance of Templates: time 0.05055/0.5533, allocations: 30.02 MB / 0.5207 GB, free: 8.719 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches