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.001842/0.001842, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.001342/0.001342, allocations: 152.5 kB / 24.49 MB, free: 3.723 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.383/1.383, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.001562/0.001562, allocations: 47.05 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08233/0.08389, allocations: 52.17 MB / 371.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01597/0.09986, allocations: 11.79 MB / 383.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00875/0.1086, allocations: 4.595 MB / 388 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1098, allocations: 99.44 kB / 388.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.1123, allocations: 1.087 MB / 389.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.1155, allocations: 1.402 MB / 390.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.1176, allocations: 0.9692 MB / 391.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.1222, allocations: 4.067 MB / 395.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002443/0.1246, allocations: 1.735 MB / 397.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.1273, allocations: 1.971 MB / 399.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.1303, allocations: 2.07 MB / 401.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006571/0.1309, allocations: 0.5078 MB / 401.9 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1323, allocations: 0.7341 MB / 402.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.1334, allocations: 1.153 MB / 403.8 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.1352, allocations: 1.684 MB / 405.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006933/0.1422, allocations: 6.856 MB / 412.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1422, allocations: 0 / 412.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1422, allocations: 0 / 412.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.535e-05/0.1422, allocations: 0 / 412.3 MB, free: 14.37 MB / 382.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.01034/0.1526, allocations: 4.489 MB / 416.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1526, allocations: 16.86 kB / 416.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.157, allocations: 0.8494 MB / 417.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/0.1613, allocations: 2.396 MB / 420.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.1616, allocations: 242.4 kB / 420.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/0.162, allocations: 319.9 kB / 420.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007264/0.1693, allocations: 4.439 MB / 425.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-05/0.1694, allocations: 15.89 kB / 425.1 MB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.1697, allocations: 124 kB / 425.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.1699, allocations: 158.4 kB / 425.4 MB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006272/0.1761, allocations: 3.621 MB / 429 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.1948, allocations: 11.35 MB / 440.3 MB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/0.2003, allocations: 2.666 MB / 443 MB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.2025, allocations: 1.249 MB / 444.2 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006086/0.2086, allocations: 3.19 MB / 447.4 MB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.2101, allocations: 1.016 MB / 448.4 MB, free: 9.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.046e-06/0.2101, allocations: 0 / 448.4 MB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01253/0.2226, allocations: 5.951 MB / 454.4 MB, free: 3.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.2228, allocations: 226.9 kB / 454.6 MB, free: 3.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.2251, allocations: 1.696 MB / 456.3 MB, free: 1.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/0.2252, allocations: 45.7 kB / 456.4 MB, free: 1.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.2266, allocations: 1.52 MB / 457.9 MB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.227, allocations: 0.4997 MB / 458.4 MB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/0.2275, allocations: 315.4 kB / 458.7 MB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2276, allocations: 309.1 kB / 459 MB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.2288, allocations: 0.6637 MB / 459.7 MB, free: 14.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.2306, allocations: 1.393 MB / 461 MB, free: 12.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.2335, allocations: 1.935 MB / 463 MB, free: 10.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2335, allocations: 4 kB / 463 MB, free: 10.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004077/0.2375, allocations: 2.338 MB / 465.3 MB, free: 8.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.2376, allocations: 19.92 kB / 465.3 MB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.2376, allocations: 16 kB / 465.4 MB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007573/0.2384, allocations: 299.3 kB / 465.6 MB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.2398, allocations: 371.4 kB / 466 MB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006262/0.2461, allocations: 5.941 MB / 472 MB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.2473, allocations: 96 kB / 472 MB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.2474, allocations: 76 kB / 472.1 MB, free: 1.133 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.00163/0.249, allocations: 1.032 MB / 473.2 MB, free: 92 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1635/0.4125, allocations: 188.1 kB / 473.3 MB, free: 88.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.4165, allocations: 2.085 MB / 475.4 MB, free: 88.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4165, allocations: 17.78 kB / 475.4 MB, free: 88.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4165, allocations: 7.375 kB / 475.4 MB, free: 88.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.4165, allocations: 6.984 kB / 475.5 MB, free: 88.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006899/0.4234, allocations: 4.221 MB / 479.7 MB, free: 86.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4234, allocations: 4.719 kB / 479.7 MB, free: 86.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.4243, allocations: 192.4 kB / 479.9 MB, free: 86.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.4254, allocations: 455.2 kB / 480.3 MB, free: 86.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.4255, allocations: 35.91 kB / 480.3 MB, free: 86.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008001/0.4335, allocations: 10.39 MB / 490.7 MB, free: 78.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4335, allocations: 2.094 kB / 490.7 MB, free: 78.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.4376, allocations: 2.976 MB / 493.7 MB, free: 77.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/0.4383, allocations: 334.9 kB / 494 MB, free: 76.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.4385, allocations: 42.14 kB / 494.1 MB, free: 76.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.4394, allocations: 67.78 kB / 494.1 MB, free: 76.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.4396, allocations: 104.5 kB / 494.2 MB, free: 76.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.4397, allocations: 37.8 kB / 494.3 MB, free: 76.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001322/0.441, allocations: 1.147 MB / 495.4 MB, free: 76.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.441, allocations: 1.969 kB / 495.4 MB, free: 76.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001714/0.4427, allocations: 0.5832 MB / 496 MB, free: 76.36 MB / 430.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.001709/0.4444, allocations: 0.4943 MB / 496.5 MB, free: 76.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.4469, allocations: 2.043 MB / 498.6 MB, free: 75.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4469, allocations: 0 / 498.6 MB, free: 75.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.4487, allocations: 1.525 MB / 0.4884 GB, free: 74.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.4503, allocations: 450.5 kB / 0.4888 GB, free: 74.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.457, allocations: 5.869 MB / 0.4945 GB, free: 68.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.4584, allocations: 1.796 MB / 0.4963 GB, free: 67.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008779/0.4593, allocations: 382.8 kB / 0.4966 GB, free: 66.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.4596, allocations: 124.5 kB / 0.4968 GB, free: 66.74 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4596, allocations: 0 / 0.4968 GB, free: 66.74 MB / 430.1 MB Notification: Performance of Templates: time 0.03671/0.4963, allocations: 27.53 MB / 0.5236 GB, free: 39.63 MB / 430.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 -s ida -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: 9.009734518942423]