Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2686, allocations: 53.36 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01194/0.2805, allocations: 9.619 MB / 442 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.2874, allocations: 3.665 MB / 445.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.2887, allocations: 63.56 kB / 445.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.2906, allocations: 0.7652 MB / 446.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.2932, allocations: 0.8935 MB / 447.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2943, allocations: 455.1 kB / 447.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.2974, allocations: 2.435 MB / 450.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.2989, allocations: 1.053 MB / 451.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.3006, allocations: 1.129 MB / 452.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.3027, allocations: 1.444 MB / 453.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.3031, allocations: 280 kB / 454.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.3039, allocations: 419.8 kB / 454.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008466/0.3048, allocations: 0.8141 MB / 455.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.3061, allocations: 1.283 MB / 456.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.3106, allocations: 3.77 MB / 460.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3106, allocations: 0 / 460.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3106, allocations: 0 / 460.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.3107, allocations: 0 / 460.5 MB, free: 10.71 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005503/0.3162, allocations: 2.667 MB / 463.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3162, allocations: 11.97 kB / 463.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007794/0.317, allocations: 291.3 kB / 463.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.3195, allocations: 1.329 MB / 464.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.3196, allocations: 147.7 kB / 464.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.3199, allocations: 188 kB / 465.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.3241, allocations: 2.44 MB / 467.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.3241, allocations: 15.92 kB / 467.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.3243, allocations: 79.94 kB / 467.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3244, allocations: 95.62 kB / 467.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.3279, allocations: 1.986 MB / 469.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.34, allocations: 7.195 MB / 476.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3418, allocations: 1.057 MB / 478 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3433, allocations: 0.8155 MB / 478.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3435, allocations: 48.95 kB / 478.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.3446, allocations: 0.6828 MB / 479.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.305e-06/0.3446, allocations: 0 / 479.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01522/0.3598, allocations: 6.843 MB / 486.3 MB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.36, allocations: 171.2 kB / 486.5 MB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.362, allocations: 1.431 MB / 487.9 MB, free: 14.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-05/0.3621, allocations: 45.7 kB / 488 MB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.363, allocations: 0.9623 MB / 488.9 MB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.3634, allocations: 448.2 kB / 489.4 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.3638, allocations: 251.5 kB / 489.6 MB, free: 13.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.364, allocations: 357.9 kB / 490 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.365, allocations: 0.6364 MB / 490.6 MB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3663, allocations: 1.001 MB / 491.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.3688, allocations: 1.703 MB / 493.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3688, allocations: 4 kB / 493.3 MB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003989/0.3728, allocations: 2.273 MB / 495.6 MB, free: 6.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3728, allocations: 10.75 kB / 495.6 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3728, allocations: 16 kB / 495.6 MB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.374, allocations: 487.9 kB / 496.1 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3751, allocations: 295.5 kB / 496.4 MB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007367/0.3824, allocations: 6.889 MB / 0.4915 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.3837, allocations: 95.86 kB / 0.4916 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3838, allocations: 52 kB / 0.4916 GB, free: 14.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.3849, allocations: 0.6379 MB / 0.4922 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.3852, allocations: 159 kB / 0.4924 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/0.389, allocations: 2.072 MB / 0.4944 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.389, allocations: 15.98 kB / 0.4944 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.389, allocations: 4 kB / 0.4944 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.389, allocations: 3.984 kB / 0.4944 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.3967, allocations: 4.342 MB / 0.4987 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3967, allocations: 0 / 0.4987 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.3975, allocations: 191.7 kB / 0.4989 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3989, allocations: 0.5353 MB / 0.4994 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/0.399, allocations: 31.98 kB / 0.4994 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008719/0.4077, allocations: 8.325 MB / 0.5075 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.4077, allocations: 7.938 kB / 0.5076 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/0.4127, allocations: 3.005 MB / 0.5105 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008705/0.4136, allocations: 306.7 kB / 0.5108 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.4138, allocations: 28 kB / 0.5108 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/0.4146, allocations: 71.92 kB / 0.5109 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.4148, allocations: 104.7 kB / 0.511 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.4149, allocations: 39.98 kB / 0.511 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.4163, allocations: 0.9913 MB / 0.512 GB, free: 9.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4163, allocations: 0 / 0.512 GB, free: 9.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001502/0.4178, allocations: 451.9 kB / 0.5124 GB, free: 8.633 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.4196, allocations: 0.4996 MB / 0.5129 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.4231, allocations: 2.038 MB / 0.5149 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4231, allocations: 0 / 0.5149 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.4253, allocations: 1.392 MB / 0.5163 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4272, allocations: 429.5 kB / 0.5167 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.4347, allocations: 4.38 MB / 0.5209 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.4365, allocations: 1.694 MB / 0.5226 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.437, allocations: 115.4 kB / 0.5227 GB, free: 14.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.437, allocations: 0 / 0.5227 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Templates: time 0.273/0.71, allocations: 74 MB / 0.595 GB, free: 49.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 16.300149040995166]