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.0008408/0.0008408, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008487/0.0008487, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8833/0.8833, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.91e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.006901/0.00692, allocations: 8.464 MB / 333.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.01156, allocations: 3.446 MB / 336.5 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.0123, allocations: 63.62 kB / 336.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.01358, allocations: 0.7182 MB / 337.3 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.01512, allocations: 0.9277 MB / 338.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.01581, allocations: 458.9 kB / 338.7 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.01781, allocations: 2.513 MB / 341.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009432/0.01875, allocations: 1.006 MB / 342.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.02048, allocations: 1.633 MB / 343.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.02156, allocations: 1.216 MB / 345 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.02177, allocations: 276 kB / 345.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.02225, allocations: 423.7 kB / 345.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005163/0.02276, allocations: 0.8257 MB / 346.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.02336, allocations: 0.8769 MB / 347.4 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.02578, allocations: 3.805 MB / 351.2 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02579, allocations: 0 / 351.2 MB, free: 5.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02579, allocations: 0 / 351.2 MB, free: 5.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.02583, allocations: 0 / 351.2 MB, free: 5.152 MB / 314.7 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.003686/0.02952, allocations: 2.651 MB / 353.9 MB, free: 2.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.02958, allocations: 8.031 kB / 353.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.02984, allocations: 278.5 kB / 354.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.03036, allocations: 291.3 kB / 354.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.03189, allocations: 1.321 MB / 355.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.03197, allocations: 143.7 kB / 355.9 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.03216, allocations: 188 kB / 356.1 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.03471, allocations: 2.556 MB / 358.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.03475, allocations: 7.953 kB / 358.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.03487, allocations: 79.84 kB / 358.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.06e-05/0.03494, allocations: 99.67 kB / 358.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.03716, allocations: 1.982 MB / 360.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007436/0.04459, allocations: 6.614 MB / 367.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.0458, allocations: 1.057 MB / 368.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.04684, allocations: 0.8264 MB / 369.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.04699, allocations: 40.97 kB / 369.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000751/0.04774, allocations: 0.787 MB / 370.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.066e-06/0.04774, allocations: 0 / 370.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009111/0.05685, allocations: 6.834 MB / 377 MB, free: 10.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.05693, allocations: 175.2 kB / 377.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.05839, allocations: 1.45 MB / 378.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.945e-05/0.05849, allocations: 45.7 kB / 378.6 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.05906, allocations: 0.9623 MB / 379.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.05931, allocations: 436.2 kB / 380 MB, free: 7.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.05956, allocations: 247.5 kB / 380.3 MB, free: 7.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.05965, allocations: 357.9 kB / 380.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.06035, allocations: 0.6402 MB / 381.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.06123, allocations: 1.106 MB / 382.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.06279, allocations: 1.715 MB / 384.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.06279, allocations: 0 / 384.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002644/0.06544, allocations: 2.265 MB / 386.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.06546, allocations: 8 kB / 386.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.06548, allocations: 8 kB / 386.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.0662, allocations: 0.4922 MB / 386.8 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.06681, allocations: 295.5 kB / 387.1 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.07157, allocations: 6.822 MB / 393.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009428/0.07252, allocations: 95.86 kB / 394 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.0726, allocations: 59.92 kB / 394.1 MB, free: 9.039 MB / 362.7 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.0009028/0.07351, allocations: 0.634 MB / 394.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.07375, allocations: 163 kB / 394.9 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.0762, allocations: 2.087 MB / 397 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.07621, allocations: 16 kB / 397 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.07622, allocations: 4 kB / 397 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.07623, allocations: 3.984 kB / 397 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.08123, allocations: 4.117 MB / 401.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.08123, allocations: 4 kB / 401.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.08167, allocations: 195.7 kB / 401.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008183/0.08249, allocations: 0.5391 MB / 401.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.08257, allocations: 31.98 kB / 401.9 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/0.08785, allocations: 8.262 MB / 410.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.08785, allocations: 4.031 kB / 410.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.09105, allocations: 3.017 MB / 413.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.09183, allocations: 302.8 kB / 413.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.09197, allocations: 31.98 kB / 413.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.09238, allocations: 63.94 kB / 413.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.09256, allocations: 108.7 kB / 413.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.09261, allocations: 43.98 kB / 413.7 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001037/0.09365, allocations: 0.9874 MB / 414.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.09365, allocations: 0 / 414.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001116/0.09477, allocations: 455.9 kB / 415.1 MB, free: 3.309 MB / 378.7 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.003871/0.09864, allocations: 3.99 MB / 419.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.1011, allocations: 2.038 MB / 421.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1011, allocations: 0 / 421.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.1024, allocations: 1.392 MB / 422.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.1037, allocations: 423.8 kB / 423 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.1223, allocations: 16 MB / 439 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.1232, allocations: 1.13 MB / 440.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006835/0.1239, allocations: 329 kB / 440.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/0.1246, allocations: 0.7542 MB / 441.2 MB, free: 8.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/0.1246, allocations: 4 kB / 441.2 MB, free: 8.711 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/0.3074, allocations: 44.71 MB / 485.9 MB, free: 87.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.379, allocations: 20.7 kB / 485.9 MB, free: 87.52 MB / 410.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] 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 650] Reference file matches [Calling sys.exit(0), Time elapsed: 27.515934471972287]