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.001719/0.001719, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001939/0.00194, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.81 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09854, allocations: 50.55 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.175/0.2736, allocations: 14.05 MB / 371.6 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009918/0.2835, allocations: 5.208 MB / 376.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.2858, allocations: 85 kB / 376.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.2889, allocations: 1.113 MB / 378 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.2931, allocations: 1.389 MB / 379.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.2957, allocations: 1.001 MB / 380.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004889/0.3006, allocations: 4.088 MB / 384.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/0.3042, allocations: 3.27 MB / 387.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.3072, allocations: 1.915 MB / 389.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.3108, allocations: 2.28 MB / 391.9 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008507/0.3117, allocations: 0.5088 MB / 392.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.3137, allocations: 0.7887 MB / 393.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008219/0.3146, allocations: 1.146 MB / 394.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.3166, allocations: 2.149 MB / 396.5 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.323, allocations: 6.799 MB / 403.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.323, allocations: 3.938 kB / 403.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.323, allocations: 0 / 403.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.764e-05/0.3231, allocations: 5.344 kB / 403.3 MB, free: 12.13 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.01057/0.3337, allocations: 4.525 MB / 407.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3337, allocations: 8.031 kB / 407.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.338, allocations: 0.8134 MB / 408.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/0.3428, allocations: 2.42 MB / 411.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.343, allocations: 245.5 kB / 411.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.3435, allocations: 315.9 kB / 411.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007495/0.351, allocations: 4.293 MB / 416 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.3511, allocations: 11.83 kB / 416 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.3514, allocations: 134 kB / 416.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.3516, allocations: 150.4 kB / 416.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.3578, allocations: 3.636 MB / 419.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/0.3781, allocations: 13.51 MB / 433.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00752/0.3856, allocations: 7.245 MB / 440.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.3886, allocations: 1.596 MB / 442.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008738/0.3973, allocations: 4.332 MB / 446.6 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002144/0.3995, allocations: 0.865 MB / 447.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.168e-06/0.3995, allocations: 4 kB / 447.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.02156/0.4211, allocations: 6.731 MB / 454.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/0.4214, allocations: 218.9 kB / 454.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.4265, allocations: 1.936 MB / 456.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003251/0.4268, allocations: 49.7 kB / 456.4 MB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.4294, allocations: 1.487 MB / 457.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000901/0.4304, allocations: 491.5 kB / 458.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008161/0.4312, allocations: 311.3 kB / 458.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4314, allocations: 305.1 kB / 458.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4336, allocations: 0.6754 MB / 459.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.4365, allocations: 1.221 MB / 460.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/0.4418, allocations: 1.973 MB / 462.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.4418, allocations: 4 kB / 462.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00782/0.4497, allocations: 2.515 MB / 465.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.4498, allocations: 12 kB / 465.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.712e-05/0.4498, allocations: 19.98 kB / 465.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.4514, allocations: 342.8 kB / 465.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.4541, allocations: 375.4 kB / 466 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.4667, allocations: 6.809 MB / 472.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.4695, allocations: 95.8 kB / 472.9 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.4698, allocations: 72 kB / 473 MB, free: 4.293 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.003177/0.473, allocations: 1.036 MB / 474.1 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006989/0.4737, allocations: 209.4 kB / 474.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005874/0.4796, allocations: 2.341 MB / 476.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.4796, allocations: 19.94 kB / 476.6 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4796, allocations: 4 kB / 476.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.4797, allocations: 7.969 kB / 476.6 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009023/0.4887, allocations: 5.241 MB / 481.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4887, allocations: 0 / 481.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.4896, allocations: 183.7 kB / 482.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.491, allocations: 0.5228 MB / 482.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4911, allocations: 39.98 kB / 482.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.5038, allocations: 11.57 MB / 494.2 MB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5038, allocations: 8.125 kB / 494.2 MB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005712/0.5095, allocations: 3.238 MB / 497.4 MB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.5106, allocations: 438.4 kB / 497.9 MB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.5109, allocations: 35.98 kB / 497.9 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.5118, allocations: 68.09 kB / 498 MB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.512, allocations: 108 kB / 498.1 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.5121, allocations: 43.98 kB / 498.1 MB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002064/0.5142, allocations: 1.327 MB / 499.4 MB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5142, allocations: 0 / 499.4 MB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002059/0.5163, allocations: 0.5937 MB / 0.4883 GB, free: 8.27 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.001696/0.518, allocations: 481 kB / 0.4888 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005346/0.5233, allocations: 2.632 MB / 0.4913 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5234, allocations: 0 / 0.4913 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.526, allocations: 1.606 MB / 0.4929 GB, free: 3.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.5285, allocations: 0.5567 MB / 0.4935 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/0.5384, allocations: 5.876 MB / 0.4992 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.5407, allocations: 2.36 MB / 0.5015 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001485/0.5422, allocations: 413.2 kB / 0.5019 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.5426, allocations: 135.4 kB / 0.502 GB, free: 10.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5426, allocations: 0 / 0.502 GB, free: 10.19 MB / 430.1 MB Notification: Performance of Templates: time 0.199/0.7416, allocations: 30.58 MB / 0.5319 GB, free: 141.8 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/jenkins/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/jenkins/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