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.001626/0.001626, allocations: 118.5 kB / 18.41 MB, free: 4.684 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.001732/0.001732, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.523/1.523, allocations: 222.9 MB / 247.1 MB, free: 4.211 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 0.00157/0.00157, allocations: 47.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09528, allocations: 49.45 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01597/0.1113, allocations: 13.42 MB / 421.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009029/0.1204, allocations: 4.832 MB / 426.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.1221, allocations: 83.62 kB / 426.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.125, allocations: 1.099 MB / 427.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.1289, allocations: 1.375 MB / 428.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1314, allocations: 0.9792 MB / 429.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1846/0.316, allocations: 4.061 MB / 434 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.32, allocations: 3.253 MB / 437.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.3232, allocations: 1.909 MB / 439.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.3273, allocations: 2.169 MB / 441.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.3288, allocations: 0.5085 MB / 441.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.3314, allocations: 0.7463 MB / 442.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.3328, allocations: 1.147 MB / 443.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.3365, allocations: 2.14 MB / 445.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008534/0.3451, allocations: 6.82 MB / 452.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3451, allocations: 1.312 kB / 452.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3451, allocations: 0 / 452.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.3453, allocations: 4 kB / 452.7 MB, free: 3.332 MB / 350.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.01307/0.3584, allocations: 4.582 MB / 457.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3584, allocations: 9.406 kB / 457.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.3631, allocations: 0.8397 MB / 458.1 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005084/0.3682, allocations: 2.488 MB / 460.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.3684, allocations: 241.7 kB / 460.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008215/0.3693, allocations: 315.8 kB / 461.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009241/0.3785, allocations: 4.288 MB / 465.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-05/0.3786, allocations: 14.19 kB / 465.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.379, allocations: 130.1 kB / 465.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3792, allocations: 151.7 kB / 465.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007223/0.3864, allocations: 3.631 MB / 469.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02513/0.4116, allocations: 13.27 MB / 482.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008353/0.42, allocations: 6.951 MB / 489.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.4226, allocations: 1.358 MB / 490.9 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007337/0.43, allocations: 3.855 MB / 494.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/0.4315, allocations: 0.8526 MB / 495.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 3.025e-06/0.4315, allocations: 0 / 495.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.01408/0.4456, allocations: 6.586 MB / 0.4905 GB, free: 7.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.4458, allocations: 230.9 kB / 0.4907 GB, free: 6.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.4488, allocations: 1.899 MB / 0.4925 GB, free: 4.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.449, allocations: 53.7 kB / 0.4926 GB, free: 4.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.4506, allocations: 1.509 MB / 0.4941 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/0.4511, allocations: 0.505 MB / 0.4945 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/0.4517, allocations: 307.5 kB / 0.4948 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4518, allocations: 309.1 kB / 0.4951 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.453, allocations: 0.6667 MB / 0.4958 GB, free: 1.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.4546, allocations: 1.208 MB / 0.497 GB, free: 148 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.4576, allocations: 1.941 MB / 0.4989 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4576, allocations: 4 kB / 0.4989 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004403/0.462, allocations: 2.447 MB / 0.5013 GB, free: 11.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4621, allocations: 14.03 kB / 0.5013 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.4621, allocations: 15.94 kB / 0.5013 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007867/0.4629, allocations: 283.3 kB / 0.5016 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4644, allocations: 380.2 kB / 0.5019 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006583/0.4709, allocations: 6.373 MB / 0.5081 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4727, allocations: 103.9 kB / 0.5082 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.4729, allocations: 68 kB / 0.5083 GB, free: 4.094 MB / 414.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.001944/0.4748, allocations: 1.034 MB / 0.5093 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.4752, allocations: 206.7 kB / 0.5095 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.4796, allocations: 2.258 MB / 0.5117 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.4796, allocations: 15.94 kB / 0.5117 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.4796, allocations: 15.94 kB / 0.5117 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.4797, allocations: 7.969 kB / 0.5118 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009161/0.4888, allocations: 5.096 MB / 0.5167 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4889, allocations: 0 / 0.5167 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/0.4897, allocations: 190.4 kB / 0.5169 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.4911, allocations: 461.8 kB / 0.5174 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.4912, allocations: 35.98 kB / 0.5174 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/0.5032, allocations: 11.16 MB / 0.5283 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5032, allocations: 4 kB / 0.5283 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/0.5091, allocations: 3.151 MB / 0.5314 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.5103, allocations: 443.6 kB / 0.5318 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.5107, allocations: 35.94 kB / 0.5318 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/0.5116, allocations: 71.89 kB / 0.5319 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.5119, allocations: 101.2 kB / 0.532 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/0.512, allocations: 35.98 kB / 0.532 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002237/0.5142, allocations: 1.315 MB / 0.5333 GB, free: 9.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5143, allocations: 0 / 0.5333 GB, free: 9.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002577/0.5168, allocations: 0.5859 MB / 0.5339 GB, free: 9.137 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.001764/0.5186, allocations: 495 kB / 0.5344 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.5224, allocations: 2.185 MB / 0.5365 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5225, allocations: 0 / 0.5365 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.5251, allocations: 1.587 MB / 0.538 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.5279, allocations: 0.5391 MB / 0.5386 GB, free: 4.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.5394, allocations: 5.85 MB / 0.5443 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/0.5419, allocations: 2.3 MB / 0.5465 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/0.5426, allocations: 151.4 kB / 0.5467 GB, free: 12.14 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5426, allocations: 0 / 0.5467 GB, free: 12.14 MB / 462.1 MB Notification: Performance of Templates: time 0.3086/0.8512, allocations: 114.3 MB / 0.6583 GB, free: 130.4 MB / 0.4981 GB " [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_2/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_2/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.81685933494009]