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.001417/0.001417, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001383/0.001383, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.487/1.487, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00216/0.00216, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2241/0.3396, allocations: 9.554 MB / 435.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.3464, allocations: 3.654 MB / 439.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3481, allocations: 63.53 kB / 439.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.3504, allocations: 0.7672 MB / 440.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.3541, allocations: 0.8765 MB / 441.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3556, allocations: 461.7 kB / 441.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00456/0.3602, allocations: 2.428 MB / 444.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3625, allocations: 1.294 MB / 445.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.3651, allocations: 1.133 MB / 446.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.3681, allocations: 1.432 MB / 448 MB, free: 460 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009564/0.3691, allocations: 279.5 kB / 448.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.3711, allocations: 429.2 kB / 448.7 MB, free: 412 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.3725, allocations: 0.8057 MB / 449.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.3756, allocations: 1.284 MB / 450.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007457/0.3831, allocations: 3.767 MB / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3831, allocations: 1.375 kB / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.3831, allocations: 4 kB / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.3833, allocations: 0 / 454.5 MB, free: 13.56 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.009107/0.3924, allocations: 2.741 MB / 457.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3924, allocations: 8.906 kB / 457.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/0.3932, allocations: 278.7 kB / 457.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.3945, allocations: 290.1 kB / 457.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.398, allocations: 1.409 MB / 459.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.3982, allocations: 144.6 kB / 459.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006386/0.3988, allocations: 186.2 kB / 459.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00615/0.405, allocations: 2.441 MB / 462 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-05/0.4051, allocations: 7.172 kB / 462 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.4053, allocations: 84.23 kB / 462.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/0.4055, allocations: 94.42 kB / 462.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004985/0.4105, allocations: 1.983 MB / 464.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.4269, allocations: 7.331 MB / 471.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.4292, allocations: 1.283 MB / 472.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.431, allocations: 0.8229 MB / 473.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.4313, allocations: 121.7 kB / 473.7 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.4327, allocations: 0.6897 MB / 474.4 MB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.945e-06/0.4327, allocations: 0 / 474.4 MB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01845/0.4511, allocations: 7.363 MB / 481.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4512, allocations: 171.2 kB / 482 MB, free: 8.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.4538, allocations: 1.435 MB / 483.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.4541, allocations: 45.7 kB / 483.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.4551, allocations: 0.9623 MB / 484.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/0.4557, allocations: 440.3 kB / 484.8 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.4562, allocations: 243.5 kB / 485.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4563, allocations: 357.9 kB / 485.4 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.4575, allocations: 0.6403 MB / 486.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.459, allocations: 1.001 MB / 487.1 MB, free: 3.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.4617, allocations: 1.703 MB / 488.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4617, allocations: 4 kB / 488.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004489/0.4662, allocations: 2.352 MB / 491.1 MB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4663, allocations: 8 kB / 491.1 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.4663, allocations: 12 kB / 491.1 MB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.4675, allocations: 494.5 kB / 491.6 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4687, allocations: 295.5 kB / 491.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007838/0.4766, allocations: 7.193 MB / 499.1 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.4781, allocations: 95.81 kB / 499.2 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.4782, allocations: 59.97 kB / 499.3 MB, free: 6.59 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.001381/0.4796, allocations: 0.6376 MB / 499.9 MB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004426/0.48, allocations: 163 kB / 0.4883 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.4842, allocations: 2.139 MB / 0.4904 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4842, allocations: 12 kB / 0.4904 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.4843, allocations: 5.078 kB / 0.4904 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.4843, allocations: 3.984 kB / 0.4904 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008842/0.4931, allocations: 4.45 MB / 0.4948 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.4931, allocations: 4 kB / 0.4948 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.494, allocations: 195.7 kB / 0.495 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.4956, allocations: 0.5275 MB / 0.4955 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.4958, allocations: 35.98 kB / 0.4955 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009479/0.5053, allocations: 8.741 MB / 0.5041 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5053, allocations: 4 kB / 0.5041 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/0.511, allocations: 3.084 MB / 0.5071 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.512, allocations: 375.9 kB / 0.5074 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004955/0.5125, allocations: 31.98 kB / 0.5075 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.5137, allocations: 75.92 kB / 0.5075 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/0.514, allocations: 92.75 kB / 0.5076 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.5141, allocations: 43.92 kB / 0.5077 GB, free: 1.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.5162, allocations: 0.9874 MB / 0.5086 GB, free: 160 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5162, allocations: 4 kB / 0.5086 GB, free: 156 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002302/0.5185, allocations: 448.1 kB / 0.5091 GB, free: 15.71 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.008072/0.5266, allocations: 4.035 MB / 0.513 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.5311, allocations: 2.177 MB / 0.5151 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5311, allocations: 4 kB / 0.5151 GB, free: 9.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.534, allocations: 1.467 MB / 0.5166 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.5371, allocations: 427 kB / 0.517 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/0.5728, allocations: 16.22 MB / 0.5328 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.5753, allocations: 1.702 MB / 0.5345 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001397/0.5766, allocations: 333 kB / 0.5348 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.5782, allocations: 0.7531 MB / 0.5355 GB, free: 3.945 MB / 446.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5782, allocations: 0 / 0.5355 GB, free: 3.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.6856, allocations: 41.87 MB / 0.5764 GB, free: 10.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.87, allocations: 11.84 kB / 0.5764 GB, free: 10.41 MB / 494.1 MB " [Timeout remaining time 646] (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: 45.62992715812288]