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.002433/0.002433, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002657/0.002657, allocations: 153.1 kB / 24.26 MB, free: 164 kB / 18.57 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.533/1.533, allocations: 173.3 MB / 200.8 MB, free: 9.34 MB / 186.7 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.352e-06/1.352e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.545e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01951/0.01954, allocations: 13.24 MB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02967, allocations: 4.739 MB / 285.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.03169, allocations: 99.44 kB / 285.4 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.036, allocations: 1.099 MB / 286.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.04103, allocations: 1.456 MB / 288 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.04375, allocations: 0.969 MB / 288.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1216/0.1654, allocations: 4.243 MB / 293.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.1681, allocations: 1.748 MB / 294.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.1723, allocations: 2.882 MB / 297.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.1757, allocations: 2.017 MB / 299.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009272/0.1766, allocations: 0.507 MB / 300.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1783, allocations: 0.7355 MB / 301.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000832/0.1791, allocations: 1.195 MB / 302.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.1807, allocations: 1.467 MB / 303.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.1859, allocations: 6.91 MB / 310.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1859, allocations: 3.281 kB / 310.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1859, allocations: 0 / 310.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.707e-05/0.186, allocations: 0 / 310.6 MB, free: 9.785 MB / 266.7 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.009553/0.1955, allocations: 5.129 MB / 315.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1956, allocations: 11.2 kB / 315.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.1998, allocations: 1.246 MB / 317 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.2037, allocations: 2.376 MB / 319.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.2038, allocations: 238.3 kB / 319.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.2043, allocations: 327.9 kB / 320 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007771/0.212, allocations: 4.506 MB / 324.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.711e-05/0.2121, allocations: 4.547 kB / 324.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.2124, allocations: 128 kB / 324.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.2126, allocations: 158.4 kB / 324.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007305/0.2199, allocations: 3.222 MB / 328 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03451/0.2544, allocations: 21.17 MB / 349.1 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005773/0.2602, allocations: 2.506 MB / 351.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.2625, allocations: 1.139 MB / 352.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007956/0.2705, allocations: 3.35 MB / 356.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.2721, allocations: 1.013 MB / 357.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=132): time 3.096e-06/0.2721, allocations: 0 / 357.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=140): time 0.01289/0.285, allocations: 5.313 MB / 362.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.2852, allocations: 222.9 kB / 362.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/0.2885, allocations: 2.08 MB / 364.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.2886, allocations: 49.7 kB / 364.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.2905, allocations: 1.707 MB / 366.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.2911, allocations: 0.5548 MB / 367.1 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006975/0.2918, allocations: 401.1 kB / 367.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.292, allocations: 480.8 kB / 367.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.2931, allocations: 0.531 MB / 368.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.2955, allocations: 1.546 MB / 370 MB, free: 14.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.2986, allocations: 1.992 MB / 372 MB, free: 12.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.2986, allocations: 4 kB / 372 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004424/0.3031, allocations: 2.156 MB / 374.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.3031, allocations: 16.03 kB / 374.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.3031, allocations: 19.94 kB / 374.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3042, allocations: 327.2 kB / 374.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3057, allocations: 380.5 kB / 374.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.314, allocations: 7.437 MB / 382.3 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3157, allocations: 96 kB / 382.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.3158, allocations: 75.98 kB / 382.5 MB, free: 1.949 MB / 330.7 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.002189/0.318, allocations: 0.9394 MB / 383.4 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/0.3185, allocations: 230.8 kB / 383.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.3229, allocations: 1.851 MB / 385.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.3229, allocations: 16 kB / 385.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.3229, allocations: 8 kB / 385.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.3229, allocations: 10.5 kB / 385.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.3337, allocations: 5.148 MB / 390.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.3337, allocations: 0 / 390.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008738/0.3346, allocations: 190.6 kB / 390.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.3364, allocations: 0.5287 MB / 391.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.3365, allocations: 39.98 kB / 391.4 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.3517, allocations: 13.07 MB / 404.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3517, allocations: 3.75 kB / 404.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/0.3577, allocations: 2.669 MB / 407.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.3588, allocations: 338.7 kB / 407.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.359, allocations: 28 kB / 407.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.3599, allocations: 63.95 kB / 407.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.3602, allocations: 113 kB / 407.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/0.3603, allocations: 43.98 kB / 407.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002048/0.3623, allocations: 1.184 MB / 408.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3623, allocations: 0 / 408.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00242/0.3648, allocations: 0.5781 MB / 409.5 MB, free: 6.34 MB / 362.7 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.003161/0.3679, allocations: 0.4921 MB / 410 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.3722, allocations: 2.133 MB / 412.1 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3722, allocations: 0 / 412.1 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003332/0.3755, allocations: 1.799 MB / 413.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.378, allocations: 468.8 kB / 414.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.3894, allocations: 5.459 MB / 419.9 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.3916, allocations: 1.684 MB / 421.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001296/0.3929, allocations: 331.2 kB / 421.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.3933, allocations: 128.5 kB / 422 MB, free: 9.906 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.3933, allocations: 0 / 422 MB, free: 9.906 MB / 378.7 MB Notification: Performance of Templates: time 0.1598/0.5531, allocations: 27.52 MB / 449.5 MB, free: 113.5 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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.709416034980677]