Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001325/0.001325, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001465/0.001465, allocations: 158 kB / 24.48 MB, free: 3.465 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.439/1.439, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 50.52 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09244, allocations: 52.17 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01172/0.1042, allocations: 8.413 MB / 380 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.1108, allocations: 3.268 MB / 383.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1118, allocations: 63.56 kB / 383.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.1134, allocations: 0.7107 MB / 384 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.1154, allocations: 0.8507 MB / 384.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1165, allocations: 479 kB / 385.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.119, allocations: 2.412 MB / 387.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.1203, allocations: 1.002 MB / 388.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.1216, allocations: 1.125 MB / 389.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.1235, allocations: 1.339 MB / 391.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003768/0.1239, allocations: 283.9 kB / 391.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.1246, allocations: 403.8 kB / 391.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.1254, allocations: 0.818 MB / 392.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1267, allocations: 1.031 MB / 393.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.1307, allocations: 3.768 MB / 397.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1307, allocations: 0 / 397.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1307, allocations: 3.938 kB / 397.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.16e-05/0.1308, allocations: 0 / 397.5 MB, free: 13.26 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.00495/0.1357, allocations: 2.655 MB / 400.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1358, allocations: 8.922 kB / 400.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/0.1364, allocations: 283.3 kB / 400.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.1389, allocations: 1.325 MB / 401.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.139, allocations: 135.7 kB / 401.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/0.1393, allocations: 192 kB / 402.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.1434, allocations: 2.54 MB / 404.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/0.1434, allocations: 7.953 kB / 404.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1436, allocations: 76 kB / 404.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.1437, allocations: 95.67 kB / 404.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.1472, allocations: 1.99 MB / 406.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.1579, allocations: 6.327 MB / 413.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.1597, allocations: 1.06 MB / 414.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.1613, allocations: 0.8243 MB / 415 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.1615, allocations: 44.97 kB / 415.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.1627, allocations: 0.7831 MB / 415.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.595e-06/0.1627, allocations: 4 kB / 415.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01602/0.1787, allocations: 6.817 MB / 422.7 MB, free: 3.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1788, allocations: 171.2 kB / 422.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.1806, allocations: 1.273 MB / 424.1 MB, free: 2.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/0.1807, allocations: 45.7 kB / 424.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008553/0.1815, allocations: 0.9574 MB / 425.1 MB, free: 1.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.1819, allocations: 452.2 kB / 425.6 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.1823, allocations: 243.5 kB / 425.8 MB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1825, allocations: 357.9 kB / 426.2 MB, free: 112 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.1835, allocations: 0.6441 MB / 426.8 MB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.185, allocations: 1.102 MB / 427.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.1875, allocations: 1.715 MB / 429.6 MB, free: 12.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.1875, allocations: 4 kB / 429.6 MB, free: 12.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00394/0.1914, allocations: 2.25 MB / 431.9 MB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1915, allocations: 8 kB / 431.9 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.1915, allocations: 8 kB / 431.9 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.1927, allocations: 499.2 kB / 432.4 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.1938, allocations: 291.5 kB / 432.7 MB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/0.2011, allocations: 6.757 MB / 439.4 MB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2022, allocations: 95.8 kB / 439.5 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2023, allocations: 52 kB / 439.6 MB, free: 2.066 MB / 398.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.001064/0.2034, allocations: 0.6417 MB / 440.2 MB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.2037, allocations: 151 kB / 440.3 MB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.2074, allocations: 2.062 MB / 442.4 MB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2074, allocations: 15.94 kB / 442.4 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2074, allocations: 4 kB / 442.4 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2074, allocations: 7.969 kB / 442.4 MB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007202/0.2146, allocations: 3.88 MB / 446.3 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.2146, allocations: 11.92 kB / 446.3 MB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.2155, allocations: 187.8 kB / 446.5 MB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.2169, allocations: 0.543 MB / 447.1 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/0.217, allocations: 35.98 kB / 447.1 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.2256, allocations: 8.166 MB / 455.3 MB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2256, allocations: 4 kB / 455.3 MB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.2306, allocations: 3.005 MB / 458.3 MB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007956/0.2314, allocations: 278.9 kB / 458.5 MB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.2316, allocations: 32.03 kB / 458.6 MB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.2323, allocations: 75.86 kB / 458.6 MB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.2326, allocations: 104.7 kB / 458.7 MB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.2327, allocations: 39.98 kB / 458.8 MB, free: 14.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.2339, allocations: 0.8581 MB / 459.6 MB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2339, allocations: 4 kB / 459.6 MB, free: 13.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001478/0.2354, allocations: 455.9 kB / 460.1 MB, free: 12.91 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 (105): * Single equations (assignments): 98 * 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.00182/0.2372, allocations: 0.5227 MB / 460.6 MB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.2407, allocations: 2.038 MB / 462.6 MB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2407, allocations: 0.625 kB / 462.6 MB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.243, allocations: 1.392 MB / 464 MB, free: 9.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.2446, allocations: 360 kB / 464.4 MB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.2515, allocations: 4.288 MB / 468.7 MB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.2529, allocations: 1.121 MB / 469.8 MB, free: 3.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009471/0.2538, allocations: 299.8 kB / 470.1 MB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.2541, allocations: 108.5 kB / 470.2 MB, free: 2.766 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2541, allocations: 0 / 470.2 MB, free: 2.766 MB / 430.1 MB Notification: Performance of Templates: time 0.2051/0.4592, allocations: 23.6 MB / 493.8 MB, free: 81.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.089821471949108]