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.002055/0.002055, allocations: 81.73 kB / 20.68 MB, free: 1.039 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.001889/0.001889, allocations: 154.8 kB / 23.94 MB, free: 4.176 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.466/1.466, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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 1.443e-06/1.443e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.157e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01416/0.01418, allocations: 11.79 MB / 330.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02651, allocations: 4.599 MB / 335.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.02953, allocations: 95.53 kB / 335.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.03327, allocations: 1.103 MB / 336.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005545/0.03882, allocations: 1.437 MB / 338 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.04194, allocations: 0.9741 MB / 338.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006159/0.0481, allocations: 4.261 MB / 343.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.05123, allocations: 1.738 MB / 344.9 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005835/0.05707, allocations: 2.858 MB / 347.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003825/0.06089, allocations: 1.847 MB / 349.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009178/0.06181, allocations: 0.5078 MB / 350.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.06367, allocations: 0.7339 MB / 350.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.06485, allocations: 1.18 MB / 352.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002471/0.06733, allocations: 1.446 MB / 353.5 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008407/0.07573, allocations: 6.867 MB / 360.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.07574, allocations: 0 / 360.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07574, allocations: 0 / 360.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.07588, allocations: 0 / 360.4 MB, free: 2.074 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.01316/0.08904, allocations: 4.469 MB / 364.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.08909, allocations: 12.92 kB / 364.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.09403, allocations: 0.8377 MB / 365.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.1002, allocations: 2.385 MB / 368.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.1005, allocations: 254.3 kB / 368.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.1015, allocations: 319.9 kB / 368.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009723/0.1112, allocations: 4.431 MB / 373.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.247e-05/0.1113, allocations: 7.938 kB / 373.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.1117, allocations: 139.9 kB / 373.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.1119, allocations: 158.4 kB / 373.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007848/0.1197, allocations: 3.621 MB / 377 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.1426, allocations: 11.36 MB / 388.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/0.1483, allocations: 2.658 MB / 391 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002362/0.1507, allocations: 1.249 MB / 392.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006974/0.1576, allocations: 3.19 MB / 395.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.1593, allocations: 1.012 MB / 396.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.098e-06/0.1593, allocations: 0 / 396.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01446/0.1738, allocations: 5.943 MB / 402.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.1739, allocations: 222.9 kB / 402.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.1773, allocations: 1.692 MB / 404.3 MB, free: 5.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.1775, allocations: 49.7 kB / 404.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.1791, allocations: 1.528 MB / 405.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.1798, allocations: 0.4919 MB / 406.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/0.1805, allocations: 307.5 kB / 406.7 MB, free: 3.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1807, allocations: 305.1 kB / 407 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.1821, allocations: 0.6676 MB / 407.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.1841, allocations: 1.396 MB / 409 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.1875, allocations: 1.943 MB / 411 MB, free: 14.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.1875, allocations: 4 kB / 411 MB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004788/0.1923, allocations: 2.338 MB / 413.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1923, allocations: 8 kB / 413.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.1924, allocations: 16 kB / 413.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.1932, allocations: 291.5 kB / 413.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.1948, allocations: 375.4 kB / 414 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006906/0.2017, allocations: 5.949 MB / 420 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.2033, allocations: 92.11 kB / 420 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/0.2037, allocations: 68 kB / 420.1 MB, free: 4.914 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 (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.002501/0.2062, allocations: 1.032 MB / 421.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/0.2068, allocations: 190.7 kB / 421.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.2116, allocations: 2.09 MB / 423.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.2116, allocations: 12 kB / 423.4 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.2116, allocations: 11.94 kB / 423.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.2117, allocations: 7.969 kB / 423.5 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009449/0.2211, allocations: 4.224 MB / 427.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.2211, allocations: 8.094 kB / 427.7 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/0.222, allocations: 183.8 kB / 427.9 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.2234, allocations: 470.6 kB / 428.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.2235, allocations: 31.98 kB / 428.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.2359, allocations: 10.38 MB / 438.7 MB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.2359, allocations: 4.031 kB / 438.7 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/0.242, allocations: 2.964 MB / 441.7 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.2431, allocations: 350.6 kB / 442 MB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/0.2437, allocations: 35.94 kB / 442.1 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.2449, allocations: 67.98 kB / 442.1 MB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003668/0.2453, allocations: 109 kB / 442.2 MB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.2454, allocations: 44.11 kB / 442.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002475/0.2479, allocations: 1.145 MB / 443.4 MB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2479, allocations: 0 / 443.4 MB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002812/0.2507, allocations: 0.5742 MB / 444 MB, free: 12.34 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 (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.002041/0.2527, allocations: 0.4911 MB / 444.5 MB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.2574, allocations: 2.036 MB / 446.5 MB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2574, allocations: 2 kB / 446.5 MB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/0.2605, allocations: 1.531 MB / 448.1 MB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.2638, allocations: 450.6 kB / 448.5 MB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.2775, allocations: 5.667 MB / 454.2 MB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/0.2809, allocations: 1.804 MB / 456 MB, free: 376 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001691/0.2826, allocations: 375.2 kB / 456.4 MB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.2831, allocations: 124.4 kB / 456.5 MB, free: 15.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/0.2831, allocations: 0 / 456.5 MB, free: 15.88 MB / 430.1 MB Notification: Performance of Templates: time 0.2102/0.4933, allocations: 27.35 MB / 483.8 MB, free: 121.6 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 -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/jenkins/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/jenkins/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.269675180315971]