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.001737/0.001737, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.002006/0.002006, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.548/1.548, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001641/0.001641, allocations: 47.92 kB / 371.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01677/0.2644, allocations: 13.56 MB / 437.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0092/0.2736, allocations: 4.869 MB / 442.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.2755, allocations: 99.38 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.2785, allocations: 1.146 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.2827, allocations: 1.437 MB / 445 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.2851, allocations: 1.008 MB / 446 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.2907, allocations: 4.074 MB / 450.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003296/0.294, allocations: 1.813 MB / 451.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.2971, allocations: 1.971 MB / 453.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.3009, allocations: 2.195 MB / 456.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.3021, allocations: 0.5078 MB / 456.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.3041, allocations: 0.7574 MB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.3057, allocations: 1.153 MB / 458.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003148/0.3088, allocations: 2.147 MB / 460.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.317, allocations: 6.821 MB / 467.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.317, allocations: 0 / 467.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.317, allocations: 0 / 467.5 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.3171, allocations: 0 / 467.5 MB, free: 2.918 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.0116/0.3287, allocations: 4.509 MB / 472 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3287, allocations: 12.03 kB / 472 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.333, allocations: 0.8339 MB / 472.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.338, allocations: 2.419 MB / 475.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.3382, allocations: 246.4 kB / 475.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3389, allocations: 327.9 kB / 475.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007832/0.3467, allocations: 4.28 MB / 480.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.467e-05/0.3468, allocations: 7.953 kB / 480.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.3471, allocations: 128 kB / 480.2 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.3473, allocations: 154.4 kB / 480.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006763/0.354, allocations: 3.629 MB / 484 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.3765, allocations: 13.01 MB / 497 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/0.382, allocations: 2.686 MB / 499.7 MB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.3843, allocations: 1.236 MB / 0.4892 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007466/0.3917, allocations: 3.586 MB / 0.4927 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.3932, allocations: 0.8572 MB / 0.4935 GB, free: 12.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.357e-06/0.3932, allocations: 3.938 kB / 0.4935 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01334/0.4066, allocations: 5.959 MB / 0.4993 GB, free: 6.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.4067, allocations: 218.9 kB / 0.4996 GB, free: 6.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.4101, allocations: 1.91 MB / 0.5014 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4102, allocations: 49.7 kB / 0.5015 GB, free: 4.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.4117, allocations: 1.506 MB / 0.5029 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005401/0.4123, allocations: 0.5036 MB / 0.5034 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.4128, allocations: 311.5 kB / 0.5037 GB, free: 1.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.413, allocations: 305.1 kB / 0.504 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.4142, allocations: 0.6637 MB / 0.5047 GB, free: 1.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4159, allocations: 1.213 MB / 0.5059 GB, free: 15.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/0.4189, allocations: 1.935 MB / 0.5077 GB, free: 13.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.4189, allocations: 7.938 kB / 0.5078 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004474/0.4234, allocations: 2.363 MB / 0.5101 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.4234, allocations: 8 kB / 0.5101 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.4234, allocations: 16.28 kB / 0.5101 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007942/0.4242, allocations: 287.2 kB / 0.5104 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.4257, allocations: 383.4 kB / 0.5107 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/0.4322, allocations: 6.078 MB / 0.5167 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.4338, allocations: 91.91 kB / 0.5167 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.434, allocations: 75.92 kB / 0.5168 GB, free: 3.797 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.002166/0.4361, allocations: 1.032 MB / 0.5178 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/0.4368, allocations: 210.6 kB / 0.518 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.4414, allocations: 2.095 MB / 0.5201 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.4414, allocations: 16 kB / 0.5201 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.4415, allocations: 8 kB / 0.5201 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.4415, allocations: 7.969 kB / 0.5201 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009509/0.451, allocations: 4.916 MB / 0.5249 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.451, allocations: 0 / 0.5249 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.4519, allocations: 180 kB / 0.5251 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.4531, allocations: 464 kB / 0.5255 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4533, allocations: 43.92 kB / 0.5256 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2121/0.6654, allocations: 10.62 MB / 0.5359 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6654, allocations: 2.594 kB / 0.5359 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.6707, allocations: 2.983 MB / 0.5388 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/0.6717, allocations: 363.1 kB / 0.5392 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.672, allocations: 36.3 kB / 0.5392 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.6728, allocations: 65.03 kB / 0.5393 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.6731, allocations: 111.9 kB / 0.5394 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.6732, allocations: 42.95 kB / 0.5394 GB, free: 103.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.6749, allocations: 1.309 MB / 0.5407 GB, free: 102.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6749, allocations: 1.688 kB / 0.5407 GB, free: 102.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002278/0.6772, allocations: 0.5805 MB / 0.5413 GB, free: 102.8 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 (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.001677/0.6789, allocations: 476.3 kB / 0.5417 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.6818, allocations: 2.035 MB / 0.5437 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6818, allocations: 0 / 0.5437 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.6837, allocations: 1.516 MB / 0.5452 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.6859, allocations: 0.5459 MB / 0.5457 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/0.6945, allocations: 5.875 MB / 0.5515 GB, free: 97.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.696, allocations: 2.303 MB / 0.5537 GB, free: 96.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.6965, allocations: 144.2 kB / 0.5539 GB, free: 96.56 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6965, allocations: 0 / 0.5539 GB, free: 96.56 MB / 446.1 MB Notification: Performance of Templates: time 0.08985/0.7863, allocations: 114.6 MB / 0.6658 GB, free: 15.23 MB / 478.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.57356281299144]