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.001551/0.001551, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.001471/0.001471, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.06/2.06, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.91 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1559, allocations: 49.43 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02307/0.179, allocations: 13.29 MB / 363.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.1938, allocations: 4.778 MB / 368.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/0.198, allocations: 75.69 kB / 368.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.2034, allocations: 0.968 MB / 369.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.212, allocations: 1.266 MB / 370.4 MB, free: 396 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3418/0.5538, allocations: 0.8897 MB / 371.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5649, allocations: 4.311 MB / 375.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006853/0.5718, allocations: 2.723 MB / 378.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.5769, allocations: 1.525 MB / 379.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006572/0.5835, allocations: 1.996 MB / 381.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.5861, allocations: 302.1 kB / 382.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.5915, allocations: 0.5377 MB / 382.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.595, allocations: 0.9148 MB / 383.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009363/0.6044, allocations: 1.911 MB / 385.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.6165, allocations: 5.726 MB / 391.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.6166, allocations: 0 / 391.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6166, allocations: 0 / 391.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002669/0.6169, allocations: 0 / 391.3 MB, free: 5.121 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.02398/0.6409, allocations: 4.478 MB / 395.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.641, allocations: 12.88 kB / 395.8 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008841/0.6498, allocations: 0.8246 MB / 396.6 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008981/0.6589, allocations: 2.349 MB / 398.9 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.6594, allocations: 253.9 kB / 399.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.6611, allocations: 322.1 kB / 399.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.677, allocations: 4.286 MB / 403.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.6772, allocations: 0 / 403.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008334/0.6781, allocations: 135.3 kB / 403.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002552/0.6783, allocations: 154 kB / 404.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.6915, allocations: 3.624 MB / 407.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0376/0.7292, allocations: 13.41 MB / 421.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.7396, allocations: 6.955 MB / 428 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.7435, allocations: 1.391 MB / 429.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.7553, allocations: 3.856 MB / 433.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/0.7577, allocations: 0.8569 MB / 434.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 1.1e-05/0.7577, allocations: 0 / 434.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.021/0.7787, allocations: 6.527 MB / 440.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.779, allocations: 226.9 kB / 440.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.7843, allocations: 1.906 MB / 442.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.7847, allocations: 49.7 kB / 442.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.7869, allocations: 1.476 MB / 444.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009054/0.7878, allocations: 487.2 kB / 444.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.7889, allocations: 311.3 kB / 445.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.789, allocations: 309.1 kB / 445.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.791, allocations: 0.6637 MB / 446.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.7935, allocations: 1.205 MB / 447.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.7986, allocations: 1.944 MB / 449.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/0.7987, allocations: 4 kB / 449.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007585/0.8063, allocations: 2.432 MB / 451.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.8065, allocations: 14.66 kB / 451.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.683e-05/0.8065, allocations: 12 kB / 451.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.808, allocations: 287.3 kB / 452 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.8105, allocations: 387.3 kB / 452.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/0.82, allocations: 5.854 MB / 458.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/0.8234, allocations: 91.94 kB / 458.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005435/0.8239, allocations: 72 kB / 458.4 MB, free: 3.398 MB / 366.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.003841/0.8278, allocations: 1.043 MB / 459.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009827/0.8288, allocations: 201.6 kB / 459.6 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007381/0.8362, allocations: 2.258 MB / 461.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/0.8363, allocations: 12 kB / 461.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-05/0.8364, allocations: 12 kB / 461.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/0.8364, allocations: 7.969 kB / 461.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.8525, allocations: 5.114 MB / 467 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.8526, allocations: 4.094 kB / 467 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.854, allocations: 183.7 kB / 467.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.856, allocations: 460 kB / 467.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/0.8563, allocations: 43.92 kB / 467.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/0.8727, allocations: 10.21 MB / 477.9 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8728, allocations: 3.938 kB / 477.9 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009142/0.8819, allocations: 3.137 MB / 481 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/0.8841, allocations: 434.5 kB / 481.5 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/0.8852, allocations: 39.92 kB / 481.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/0.8876, allocations: 60.08 kB / 481.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/0.8881, allocations: 105.2 kB / 481.7 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/0.8883, allocations: 43.98 kB / 481.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00436/0.8927, allocations: 1.311 MB / 483 MB, free: 9.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.41e-07/0.8927, allocations: 0 / 483 MB, free: 9.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005277/0.898, allocations: 0.582 MB / 483.6 MB, free: 9.238 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.002257/0.9003, allocations: 472.9 kB / 484.1 MB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.9068, allocations: 2.167 MB / 486.2 MB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.9069, allocations: 1.812 kB / 486.2 MB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004599/0.9115, allocations: 1.578 MB / 487.8 MB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/0.9176, allocations: 0.5285 MB / 488.3 MB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/0.9377, allocations: 7.168 MB / 495.5 MB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003883/0.9417, allocations: 2.301 MB / 497.8 MB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.9428, allocations: 143.4 kB / 497.9 MB, free: 10.87 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9428, allocations: 0 / 497.9 MB, free: 10.87 MB / 414.1 MB Notification: Performance of Templates: time 0.4593/1.402, allocations: 114 MB / 0.5976 GB, free: 97.24 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 -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