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.002265/0.002264, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0029/0.0029, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.417/2.417, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5132, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02902/0.5423, allocations: 14.06 MB / 424 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.5595, allocations: 5.195 MB / 429.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/0.5638, allocations: 87.69 kB / 429.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.5694, allocations: 1.115 MB / 430.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.5775, allocations: 1.398 MB / 431.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.5824, allocations: 0.9964 MB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008981/0.5915, allocations: 4.117 MB / 436.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007184/0.5987, allocations: 3.253 MB / 440.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005119/0.6039, allocations: 1.939 MB / 442.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006048/0.61, allocations: 2.293 MB / 444.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002048/0.6121, allocations: 0.5078 MB / 444.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.6158, allocations: 0.7691 MB / 445.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.6182, allocations: 1.138 MB / 446.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004922/0.6232, allocations: 2.167 MB / 449 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.6361, allocations: 6.833 MB / 455.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.6362, allocations: 4 kB / 455.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.062e-06/0.6362, allocations: 4 kB / 455.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002295/0.6365, allocations: 3.938 kB / 455.8 MB, free: 3.465 MB / 366.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.02192/0.6584, allocations: 4.511 MB / 460.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.6585, allocations: 12.03 kB / 460.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/0.668, allocations: 0.8318 MB / 461.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.6812, allocations: 2.49 MB / 463.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.6817, allocations: 238.4 kB / 463.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.6831, allocations: 319.8 kB / 464.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.7036, allocations: 4.292 MB / 468.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.7038, allocations: 7.906 kB / 468.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008238/0.7046, allocations: 124 kB / 468.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002551/0.7049, allocations: 158.4 kB / 468.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.7216, allocations: 3.629 MB / 472.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05058/0.7723, allocations: 13.33 MB / 485.7 MB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.7851, allocations: 7.245 MB / 493 MB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005533/0.7907, allocations: 1.632 MB / 494.6 MB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/0.8088, allocations: 4.311 MB / 498.9 MB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.8112, allocations: 0.8649 MB / 499.8 MB, free: 5.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.753e-06/0.8113, allocations: 4 kB / 499.8 MB, free: 5.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02401/0.8353, allocations: 6.704 MB / 0.4946 GB, free: 14.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.8355, allocations: 226.9 kB / 0.4949 GB, free: 14.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.8406, allocations: 1.936 MB / 0.4967 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003328/0.841, allocations: 49.7 kB / 0.4968 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.8433, allocations: 1.498 MB / 0.4983 GB, free: 11.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009484/0.8443, allocations: 489 kB / 0.4987 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/0.8451, allocations: 311.3 kB / 0.499 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8453, allocations: 305.1 kB / 0.4993 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.8475, allocations: 0.6715 MB / 0.5 GB, free: 9.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.8501, allocations: 1.229 MB / 0.5012 GB, free: 7.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.8554, allocations: 1.959 MB / 0.5031 GB, free: 5.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-05/0.8555, allocations: 4 kB / 0.5031 GB, free: 5.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.008139/0.8636, allocations: 2.511 MB / 0.5055 GB, free: 3.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.8637, allocations: 16 kB / 0.5055 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.8638, allocations: 16 kB / 0.5056 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.8653, allocations: 335.1 kB / 0.5059 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.8681, allocations: 371.4 kB / 0.5062 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/0.8793, allocations: 6.794 MB / 0.5129 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.882, allocations: 96.11 kB / 0.513 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/0.8824, allocations: 71.98 kB / 0.513 GB, free: 11.02 MB / 446.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.003138/0.8856, allocations: 1.048 MB / 0.5141 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000698/0.8863, allocations: 201.5 kB / 0.5142 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/0.8936, allocations: 2.352 MB / 0.5165 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.8937, allocations: 16 kB / 0.5166 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.8937, allocations: 8.188 kB / 0.5166 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.8937, allocations: 11.97 kB / 0.5166 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/0.9147, allocations: 5.221 MB / 0.5217 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/0.9148, allocations: 0 / 0.5217 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9164, allocations: 183.7 kB / 0.5219 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/0.9191, allocations: 0.4956 MB / 0.5223 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/0.9194, allocations: 43.97 kB / 0.5224 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/0.9436, allocations: 11.57 MB / 0.5337 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9437, allocations: 0 / 0.5337 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.9577, allocations: 3.244 MB / 0.5368 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/0.9599, allocations: 434.5 kB / 0.5373 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007863/0.9607, allocations: 31.98 kB / 0.5373 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.9626, allocations: 67.95 kB / 0.5374 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/0.9631, allocations: 101.1 kB / 0.5375 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.9633, allocations: 39.98 kB / 0.5375 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.3977/1.361, allocations: 1.329 MB / 0.5388 GB, free: 122.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.042e-06/1.361, allocations: 0 / 0.5388 GB, free: 122.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01002/1.371, allocations: 0.5872 MB / 0.5394 GB, free: 122.3 MB / 462.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.002246/1.373, allocations: 484.7 kB / 0.5398 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006867/1.38, allocations: 2.235 MB / 0.542 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.38, allocations: 3.625 kB / 0.542 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004011/1.384, allocations: 1.609 MB / 0.5436 GB, free: 121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/1.389, allocations: 0.5423 MB / 0.5441 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.411, allocations: 5.794 MB / 0.5498 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.415, allocations: 2.309 MB / 0.552 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000989/1.416, allocations: 150 kB / 0.5522 GB, free: 117 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/1.416, allocations: 0 / 0.5522 GB, free: 117 MB / 462.1 MB Notification: Performance of Templates: time 0.1766/1.593, allocations: 115.6 MB / 0.665 GB, free: 5.383 MB / 462.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.0.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