Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008215, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009049/0.0009049, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8839/0.8839, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.522e-05, allocations: 2.984 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007119/0.007134, allocations: 8.469 MB / 333 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.01218, allocations: 3.439 MB / 336.4 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007194/0.0129, allocations: 59.62 kB / 336.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.01416, allocations: 0.726 MB / 337.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.01563, allocations: 0.9277 MB / 338.2 MB, free: 2.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.01629, allocations: 454.8 kB / 338.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.01812, allocations: 2.519 MB / 341.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008763/0.019, allocations: 1.014 MB / 342.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.0202, allocations: 1.626 MB / 343.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.02119, allocations: 1.22 MB / 345 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.02141, allocations: 280 kB / 345.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.02186, allocations: 419.7 kB / 345.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.02234, allocations: 0.8335 MB / 346.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.02294, allocations: 0.873 MB / 347.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.02543, allocations: 3.801 MB / 351.2 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.02543, allocations: 4 kB / 351.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02543, allocations: 0 / 351.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.02546, allocations: 4 kB / 351.2 MB, free: 5.086 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.002868/0.02832, allocations: 2.64 MB / 353.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.02836, allocations: 19.97 kB / 353.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.0286, allocations: 274.6 kB / 354.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.02904, allocations: 287.3 kB / 354.4 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.0307, allocations: 1.329 MB / 355.7 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.03077, allocations: 143.8 kB / 355.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.03095, allocations: 188 kB / 356 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.03338, allocations: 2.54 MB / 358.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.03342, allocations: 7.953 kB / 358.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.03354, allocations: 79.98 kB / 358.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.0336, allocations: 95.67 kB / 358.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.03575, allocations: 1.986 MB / 360.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/0.04202, allocations: 6.618 MB / 367.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.04315, allocations: 1.061 MB / 368.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.04404, allocations: 0.8147 MB / 369.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.04416, allocations: 48.95 kB / 369.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.04487, allocations: 0.787 MB / 370.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.214e-06/0.04487, allocations: 4 kB / 370.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.008549/0.05342, allocations: 6.834 MB / 376.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.05348, allocations: 175.1 kB / 377.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.05469, allocations: 1.45 MB / 378.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.05475, allocations: 53.7 kB / 378.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.05523, allocations: 0.9584 MB / 379.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.05544, allocations: 436.3 kB / 380 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.05568, allocations: 243.5 kB / 380.2 MB, free: 7.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.05578, allocations: 357.9 kB / 380.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.05643, allocations: 0.6481 MB / 381.2 MB, free: 6.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009128/0.05734, allocations: 1.106 MB / 382.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.05888, allocations: 1.699 MB / 384 MB, free: 3.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.05888, allocations: 4 kB / 384 MB, free: 3.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002363/0.06125, allocations: 2.269 MB / 386.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.06127, allocations: 12 kB / 386.3 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.06128, allocations: 8.25 kB / 386.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/0.06195, allocations: 499.9 kB / 386.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.06255, allocations: 299.5 kB / 387.1 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/0.06718, allocations: 6.814 MB / 393.9 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.06772, allocations: 99.92 kB / 394 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.06779, allocations: 52 kB / 394 MB, free: 8.988 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.0006854/0.06848, allocations: 0.6455 MB / 394.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.06864, allocations: 167 kB / 394.8 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.07098, allocations: 2.079 MB / 396.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.07099, allocations: 12 kB / 396.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.07099, allocations: 4 kB / 396.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.071, allocations: 7.969 kB / 397 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.07536, allocations: 4.109 MB / 401.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.07537, allocations: 8.031 kB / 401.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.07579, allocations: 191.7 kB / 401.3 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/0.07655, allocations: 0.5272 MB / 401.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.07685, allocations: 47.91 kB / 401.8 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.08194, allocations: 8.273 MB / 410.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.08194, allocations: 8.062 kB / 410.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.08483, allocations: 3.009 MB / 413.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.08523, allocations: 306.9 kB / 413.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.08534, allocations: 32 kB / 413.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.0861, allocations: 71.92 kB / 413.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.08636, allocations: 104.7 kB / 413.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.08642, allocations: 35.98 kB / 413.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.08748, allocations: 0.9913 MB / 414.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.08748, allocations: 0 / 414.6 MB, free: 3.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001443/0.08893, allocations: 455.9 kB / 415.1 MB, free: 3.242 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.004469/0.09339, allocations: 3.974 MB / 419.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00243/0.09582, allocations: 2.034 MB / 421.1 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.09583, allocations: 0 / 421.1 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.09719, allocations: 1.396 MB / 422.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.09845, allocations: 427.7 kB / 422.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.118, allocations: 16 MB / 438.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.1191, allocations: 1.13 MB / 440 MB, free: 9.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000726/0.1198, allocations: 325 kB / 440.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/0.1205, allocations: 0.7542 MB / 441.1 MB, free: 8.637 MB / 410.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1205, allocations: 0 / 441.1 MB, free: 8.637 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/0.3308, allocations: 44.7 MB / 485.8 MB, free: 87.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.563, allocations: 0 / 485.8 MB, free: 87.54 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 649] Reference file matches [Calling sys.exit(0), Time elapsed: 28.42026745993644]