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.001689/0.001689, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.0023/0.0023, allocations: 212 kB / 23.74 MB, free: 4.656 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.016 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: "" <> 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 0.001668/0.001668, allocations: 55.92 kB / 377.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2566, allocations: 53.36 MB / 431.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01249/0.2691, allocations: 9.61 MB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00807/0.2772, allocations: 3.67 MB / 444.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2788, allocations: 59.62 kB / 444.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2808, allocations: 0.7724 MB / 445.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.2833, allocations: 0.8935 MB / 446.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2844, allocations: 459 kB / 446.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.2874, allocations: 2.432 MB / 449 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.2889, allocations: 1.053 MB / 450.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.2905, allocations: 1.137 MB / 451.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.2925, allocations: 1.436 MB / 452.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.2929, allocations: 280 kB / 452.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.2937, allocations: 427.8 kB / 453.4 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008163/0.2945, allocations: 0.8103 MB / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.2958, allocations: 1.283 MB / 455.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.2999, allocations: 3.768 MB / 459.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2999, allocations: 0 / 459.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2999, allocations: 4 kB / 459.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-05/0.3, allocations: 0 / 459.2 MB, free: 10.6 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.005169/0.3052, allocations: 2.663 MB / 461.9 MB, free: 7.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3052, allocations: 12.02 kB / 461.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.3056, allocations: 274.6 kB / 462.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007708/0.3063, allocations: 295.3 kB / 462.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.3089, allocations: 1.333 MB / 463.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.309, allocations: 139.7 kB / 463.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.3092, allocations: 191.9 kB / 464.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.3131, allocations: 2.444 MB / 466.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.3132, allocations: 7.953 kB / 466.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.3134, allocations: 76 kB / 466.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3135, allocations: 95.67 kB / 466.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.3169, allocations: 1.986 MB / 468.7 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.3286, allocations: 7.195 MB / 475.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3304, allocations: 1.057 MB / 477 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3319, allocations: 0.8109 MB / 477.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3321, allocations: 48.91 kB / 477.8 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.3333, allocations: 0.6905 MB / 478.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.445e-06/0.3333, allocations: 0 / 478.5 MB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01706/0.3503, allocations: 6.835 MB / 485.3 MB, free: 64 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.3505, allocations: 171.3 kB / 485.5 MB, free: 15.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3527, allocations: 1.439 MB / 487 MB, free: 14.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3528, allocations: 45.7 kB / 487 MB, free: 14.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3538, allocations: 0.9701 MB / 488 MB, free: 13.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/0.3542, allocations: 436.3 kB / 488.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/0.3546, allocations: 251.5 kB / 488.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3548, allocations: 353.9 kB / 489 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3559, allocations: 0.6402 MB / 489.6 MB, free: 11.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3572, allocations: 1.005 MB / 490.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.3597, allocations: 1.707 MB / 492.3 MB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3597, allocations: 4 kB / 492.3 MB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004074/0.3638, allocations: 2.265 MB / 494.6 MB, free: 6.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3638, allocations: 8 kB / 494.6 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3639, allocations: 8.25 kB / 494.6 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.365, allocations: 0.499 MB / 495.1 MB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.3661, allocations: 287.6 kB / 495.4 MB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007556/0.3737, allocations: 6.892 MB / 0.4905 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3749, allocations: 99.84 kB / 0.4906 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3751, allocations: 52 kB / 0.4907 GB, free: 14.23 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.001223/0.3763, allocations: 0.6418 MB / 0.4913 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.3766, allocations: 159 kB / 0.4914 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.3804, allocations: 2.064 MB / 0.4935 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.3805, allocations: 12 kB / 0.4935 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3805, allocations: 7.938 kB / 0.4935 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.3805, allocations: 7.969 kB / 0.4935 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.3883, allocations: 4.342 MB / 0.4977 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3883, allocations: 0 / 0.4977 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.3891, allocations: 187.8 kB / 0.4979 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.3906, allocations: 0.5352 MB / 0.4984 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.3907, allocations: 39.97 kB / 0.4985 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009019/0.3997, allocations: 8.323 MB / 0.5066 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.3997, allocations: 7.938 kB / 0.5066 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.4051, allocations: 3.001 MB / 0.5095 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4062, allocations: 302.8 kB / 0.5098 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.4066, allocations: 31.98 kB / 0.5099 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.4076, allocations: 67.94 kB / 0.5099 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.4078, allocations: 104.7 kB / 0.51 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/0.4079, allocations: 35.98 kB / 0.5101 GB, free: 9.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001894/0.4098, allocations: 0.9913 MB / 0.511 GB, free: 8.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4098, allocations: 4 kB / 0.511 GB, free: 8.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002014/0.4118, allocations: 451.9 kB / 0.5115 GB, free: 8.254 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.006916/0.4187, allocations: 3.952 MB / 0.5153 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.4224, allocations: 2.038 MB / 0.5173 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4224, allocations: 0 / 0.5173 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.4248, allocations: 1.392 MB / 0.5187 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.427, allocations: 422 kB / 0.5191 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2485/0.6754, allocations: 16.09 MB / 0.5348 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.6775, allocations: 1.703 MB / 0.5364 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.6787, allocations: 327.5 kB / 0.5368 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.6796, allocations: 0.7492 MB / 0.5375 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6796, allocations: 3.281 kB / 0.5375 GB, free: 101.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08652/0.7661, allocations: 42.98 MB / 0.5795 GB, free: 67.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.48, allocations: 10.42 kB / 0.5795 GB, free: 67.71 MB / 446.1 MB " [Timeout remaining time 644] (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/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 646] Reference file matches [Calling sys.exit(0), Time elapsed: 46.82244866807014]