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.001406/0.001406, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001575/0.001575, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.001593/0.001593, allocations: 47.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2392, allocations: 53.37 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01236/0.2516, allocations: 9.61 MB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007556/0.2591, allocations: 3.667 MB / 444.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.2605, allocations: 63.56 kB / 445 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.2625, allocations: 0.7727 MB / 445.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.2648, allocations: 0.8857 MB / 446.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.2659, allocations: 463 kB / 447.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.2688, allocations: 2.432 MB / 449.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.2703, allocations: 1.053 MB / 450.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.2719, allocations: 1.125 MB / 451.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.2741, allocations: 1.448 MB / 453.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.2745, allocations: 276 kB / 453.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.2754, allocations: 427.8 kB / 453.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.2763, allocations: 0.8142 MB / 454.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.2777, allocations: 1.287 MB / 455.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.282, allocations: 3.76 MB / 459.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.282, allocations: 0 / 459.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.282, allocations: 0 / 459.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.054e-05/0.2821, allocations: 3.938 kB / 459.7 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.005517/0.2876, allocations: 2.667 MB / 462.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2876, allocations: 8.031 kB / 462.4 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.2884, allocations: 299.3 kB / 462.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.291, allocations: 1.329 MB / 464 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.2911, allocations: 139.7 kB / 464.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.2914, allocations: 196 kB / 464.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.2956, allocations: 2.44 MB / 466.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.777e-05/0.2956, allocations: 7.953 kB / 466.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.2958, allocations: 79.98 kB / 466.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.2959, allocations: 99.67 kB / 467 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/0.2994, allocations: 1.978 MB / 468.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.3112, allocations: 7.199 MB / 476.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3132, allocations: 1.057 MB / 477.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.3147, allocations: 0.8155 MB / 478 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.3149, allocations: 48.95 kB / 478 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.3161, allocations: 0.6828 MB / 478.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.715e-06/0.3161, allocations: 0 / 478.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01607/0.3321, allocations: 6.84 MB / 485.6 MB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.3323, allocations: 175.2 kB / 485.7 MB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.3344, allocations: 1.431 MB / 487.2 MB, free: 14.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/0.3345, allocations: 49.7 kB / 487.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008867/0.3354, allocations: 0.9623 MB / 488.2 MB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.3358, allocations: 444.2 kB / 488.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.3361, allocations: 247.5 kB / 488.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3363, allocations: 361.9 kB / 489.2 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.3374, allocations: 0.6364 MB / 489.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.3388, allocations: 0.9975 MB / 490.8 MB, free: 10.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.3415, allocations: 1.707 MB / 492.6 MB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3415, allocations: 0 / 492.6 MB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004143/0.3456, allocations: 2.269 MB / 494.8 MB, free: 6.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3457, allocations: 12 kB / 494.8 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3457, allocations: 12 kB / 494.8 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3469, allocations: 499.8 kB / 495.3 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.348, allocations: 295.5 kB / 495.6 MB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.356, allocations: 6.884 MB / 0.4907 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.3574, allocations: 99.86 kB / 0.4908 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3575, allocations: 48 kB / 0.4909 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.001344/0.3588, allocations: 0.6418 MB / 0.4915 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.3592, allocations: 163 kB / 0.4917 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.3633, allocations: 2.064 MB / 0.4937 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.3633, allocations: 12 kB / 0.4937 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3633, allocations: 4 kB / 0.4937 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.3633, allocations: 11.97 kB / 0.4937 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/0.3717, allocations: 4.338 MB / 0.4979 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3717, allocations: 4 kB / 0.4979 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.3725, allocations: 187.7 kB / 0.4981 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.3739, allocations: 0.5392 MB / 0.4986 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.374, allocations: 35.98 kB / 0.4987 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009063/0.383, allocations: 8.319 MB / 0.5068 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.383, allocations: 4 kB / 0.5068 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/0.3885, allocations: 3.009 MB / 0.5097 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.3895, allocations: 302.8 kB / 0.51 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/0.3899, allocations: 32 kB / 0.5101 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.3909, allocations: 71.92 kB / 0.5101 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.3911, allocations: 100.7 kB / 0.5102 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.3912, allocations: 35.98 kB / 0.5103 GB, free: 10.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.393, allocations: 0.9952 MB / 0.5112 GB, free: 9.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.393, allocations: 0 / 0.5112 GB, free: 9.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001772/0.3948, allocations: 451.9 kB / 0.5117 GB, free: 8.637 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.001839/0.3966, allocations: 0.502 MB / 0.5122 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003892/0.4005, allocations: 2.038 MB / 0.5141 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4005, allocations: 0 / 0.5141 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.403, allocations: 1.396 MB / 0.5155 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.002317/0.4053, allocations: 434 kB / 0.5159 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/0.4138, allocations: 4.312 MB / 0.5201 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.4158, allocations: 1.702 MB / 0.5218 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.417, allocations: 329 kB / 0.5221 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.4174, allocations: 107.4 kB / 0.5222 GB, free: 13.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4174, allocations: 0 / 0.5222 GB, free: 13.79 MB / 446.1 MB Notification: Performance of Templates: time 0.2689/0.6863, allocations: 26.31 MB / 0.5479 GB, free: 96.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/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: 9.368351146113127]