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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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=200000,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=200000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2999, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01602/0.3159, allocations: 11.79 MB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.325, allocations: 4.587 MB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.3267, allocations: 103.3 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.3295, allocations: 1.091 MB / 441.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003934/0.3334, allocations: 1.41 MB / 442.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.3357, allocations: 0.9538 MB / 443.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005225/0.3409, allocations: 4.083 MB / 447.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.3435, allocations: 1.731 MB / 449.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.3463, allocations: 1.971 MB / 451.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.3496, allocations: 2.062 MB / 453.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008132/0.3504, allocations: 0.5157 MB / 454.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.352, allocations: 0.7301 MB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.3531, allocations: 1.153 MB / 456 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.3552, allocations: 1.692 MB / 457.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3631, allocations: 6.84 MB / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3631, allocations: 0 / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3631, allocations: 0 / 464.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000159/0.3633, allocations: 3.938 kB / 464.6 MB, free: 5.535 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.01226/0.3755, allocations: 4.505 MB / 469.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3756, allocations: 8.031 kB / 469.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.3801, allocations: 0.8416 MB / 469.9 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.3857, allocations: 2.396 MB / 472.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.3859, allocations: 238.4 kB / 472.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008645/0.3868, allocations: 327.9 kB / 472.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008676/0.3955, allocations: 4.435 MB / 477.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.002e-05/0.3955, allocations: 11.95 kB / 477.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.3959, allocations: 132 kB / 477.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.396, allocations: 150.4 kB / 477.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.4026, allocations: 3.621 MB / 481.2 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.4233, allocations: 11.35 MB / 492.6 MB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/0.4288, allocations: 2.669 MB / 495.2 MB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/0.431, allocations: 1.249 MB / 496.5 MB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006629/0.4377, allocations: 3.194 MB / 499.7 MB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.4392, allocations: 1.004 MB / 0.4889 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.317e-06/0.4392, allocations: 0 / 0.4889 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.01291/0.4521, allocations: 5.947 MB / 0.4948 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.4523, allocations: 222.9 kB / 0.495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.4548, allocations: 1.696 MB / 0.4966 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4549, allocations: 61.56 kB / 0.4967 GB, free: 8.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.4564, allocations: 1.524 MB / 0.4982 GB, free: 7.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/0.4568, allocations: 0.4997 MB / 0.4987 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.4573, allocations: 307.4 kB / 0.4989 GB, free: 6.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4575, allocations: 309.1 kB / 0.4992 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.4586, allocations: 0.6715 MB / 0.4999 GB, free: 5.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.4604, allocations: 1.389 MB / 0.5013 GB, free: 3.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.4632, allocations: 1.939 MB / 0.5031 GB, free: 1.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.4633, allocations: 4 kB / 0.5032 GB, free: 1.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004242/0.4675, allocations: 2.339 MB / 0.5054 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4675, allocations: 12 kB / 0.5054 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.4676, allocations: 16 kB / 0.5055 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007744/0.4683, allocations: 283.5 kB / 0.5057 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4697, allocations: 379.4 kB / 0.5061 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.4764, allocations: 5.948 MB / 0.5119 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.4779, allocations: 96.06 kB / 0.512 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4781, allocations: 71.98 kB / 0.5121 GB, free: 8.305 MB / 430.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.002052/0.4802, allocations: 1.032 MB / 0.5131 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.4806, allocations: 190.8 kB / 0.5133 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.4848, allocations: 2.086 MB / 0.5153 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4848, allocations: 16 kB / 0.5153 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4848, allocations: 8 kB / 0.5153 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.4848, allocations: 11.91 kB / 0.5153 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008221/0.493, allocations: 4.216 MB / 0.5194 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.493, allocations: 4.094 kB / 0.5194 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.4939, allocations: 187.7 kB / 0.5196 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4952, allocations: 464 kB / 0.5201 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.4953, allocations: 39.97 kB / 0.5201 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.5073, allocations: 10.39 MB / 0.5303 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5073, allocations: 0 / 0.5303 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.5129, allocations: 2.983 MB / 0.5332 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.514, allocations: 338.6 kB / 0.5335 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.5144, allocations: 35.98 kB / 0.5335 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5154, allocations: 67.95 kB / 0.5336 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.5158, allocations: 105.1 kB / 0.5337 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.5158, allocations: 39.98 kB / 0.5337 GB, free: 1.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002059/0.5179, allocations: 1.142 MB / 0.5348 GB, free: 308 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5179, allocations: 0 / 0.5348 GB, free: 308 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.1931/0.711, allocations: 0.5743 MB / 0.5354 GB, free: 106 MB / 446.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 (103): * Single equations (assignments): 96 * 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.001983/0.713, allocations: 0.4957 MB / 0.5359 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003701/0.7167, allocations: 2.042 MB / 0.5379 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7167, allocations: 1.344 kB / 0.5379 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.7188, allocations: 1.52 MB / 0.5394 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.7209, allocations: 453.9 kB / 0.5398 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008941/0.7299, allocations: 5.859 MB / 0.5455 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.7314, allocations: 1.754 MB / 0.5472 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.7319, allocations: 132.5 kB / 0.5474 GB, free: 101.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7319, allocations: 3.938 kB / 0.5474 GB, free: 101.4 MB / 446.1 MB Notification: Performance of Templates: time 0.08451/0.8164, allocations: 114 MB / 0.6587 GB, free: 6.07 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.18076937319711]