Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001062/0.001062, 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.00135/0.00135, 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.9265/0.9265, allocations: 177 MB / 204.1 MB, free: 5.758 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.71e-05, allocations: 2.844 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.00962/0.009637, allocations: 12.35 MB / 336.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.01642, allocations: 4.953 MB / 341.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008715/0.01729, allocations: 103.4 kB / 341.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.01899, allocations: 1.114 MB / 343.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.0212, allocations: 1.467 MB / 344.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.02271, allocations: 0.9776 MB / 345.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.02531, allocations: 4.325 MB / 349.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.02674, allocations: 1.75 MB / 351.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.029, allocations: 2.87 MB / 354.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.03045, allocations: 1.855 MB / 356.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.0308, allocations: 0.5078 MB / 356.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.03157, allocations: 0.7651 MB / 357.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.03218, allocations: 1.168 MB / 358.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.03335, allocations: 1.454 MB / 360.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.03743, allocations: 6.91 MB / 367.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.03744, allocations: 3.938 kB / 367.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03744, allocations: 0 / 367.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.389e-05/0.03748, allocations: 0 / 367.1 MB, free: 5.094 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.005435/0.04292, allocations: 4.493 MB / 371.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.04298, allocations: 19.98 kB / 371.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/0.04339, allocations: 455.7 kB / 372.1 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.04549, allocations: 0.8318 MB / 372.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.04835, allocations: 2.424 MB / 375.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.04847, allocations: 244.7 kB / 375.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.04876, allocations: 316 kB / 375.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.05315, allocations: 4.443 MB / 380.3 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.0532, allocations: 8 kB / 380.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.05341, allocations: 132 kB / 380.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.452e-05/0.0535, allocations: 150.4 kB / 380.6 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/0.0574, allocations: 3.636 MB / 384.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.06856, allocations: 11.86 MB / 396.1 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.07158, allocations: 2.712 MB / 398.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.07327, allocations: 1.526 MB / 400.3 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004037/0.0773, allocations: 3.485 MB / 403.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009388/0.07824, allocations: 1.023 MB / 404.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 2.594e-06/0.07824, allocations: 0 / 404.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.007551/0.0858, allocations: 6.15 MB / 411 MB, free: 8.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.08587, allocations: 218.9 kB / 411.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.08751, allocations: 1.967 MB / 413.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.08757, allocations: 49.7 kB / 413.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/0.08834, allocations: 1.518 MB / 414.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.08858, allocations: 0.4997 MB / 415.2 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.08887, allocations: 315.5 kB / 415.5 MB, free: 3.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.08894, allocations: 305.1 kB / 415.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.08962, allocations: 0.6754 MB / 416.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.09082, allocations: 1.408 MB / 417.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.09246, allocations: 1.963 MB / 419.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.09247, allocations: 4 kB / 419.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00235/0.09482, allocations: 2.448 MB / 422.3 MB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.09484, allocations: 12 kB / 422.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.09486, allocations: 12 kB / 422.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004864/0.09535, allocations: 347.1 kB / 422.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.09605, allocations: 375.4 kB / 423.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.1002, allocations: 6.419 MB / 429.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.1009, allocations: 91.91 kB / 429.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.1009, allocations: 75.98 kB / 429.6 MB, free: 5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.102, allocations: 1.047 MB / 430.7 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1022, allocations: 210.7 kB / 430.9 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.1047, allocations: 2.178 MB / 433.1 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1048, allocations: 15.94 kB / 433.1 MB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1048, allocations: 11.98 kB / 433.1 MB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.1048, allocations: 3.984 kB / 433.1 MB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/0.1095, allocations: 4.758 MB / 437.9 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1095, allocations: 0 / 437.9 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.1099, allocations: 179.8 kB / 438 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009073/0.1108, allocations: 0.5002 MB / 438.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.1108, allocations: 39.98 kB / 438.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/0.1176, allocations: 10.93 MB / 449.5 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1176, allocations: 4.312 kB / 449.5 MB, free: 424 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1754/0.2931, allocations: 3.083 MB / 452.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.2936, allocations: 371.3 kB / 453 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2938, allocations: 39.22 kB / 453 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.2942, allocations: 69.56 kB / 453.1 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.2944, allocations: 113 kB / 453.2 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.2945, allocations: 38.89 kB / 453.2 MB, free: 111.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.2957, allocations: 1.338 MB / 454.6 MB, free: 110.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2957, allocations: 0.9375 kB / 454.6 MB, free: 110.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001341/0.297, allocations: 0.5848 MB / 455.1 MB, free: 110.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003589/0.3006, allocations: 4.027 MB / 459.2 MB, free: 109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3025, allocations: 2.083 MB / 461.3 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3025, allocations: 0 / 461.3 MB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.3036, allocations: 1.565 MB / 462.8 MB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.3047, allocations: 0.5531 MB / 463.4 MB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/0.3261, allocations: 20.17 MB / 483.5 MB, free: 87.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3271, allocations: 1.811 MB / 485.4 MB, free: 85.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007485/0.3279, allocations: 405.2 kB / 485.7 MB, free: 85.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/0.3286, allocations: 1.203 MB / 487 MB, free: 84.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3286, allocations: 0 / 487 MB, free: 84.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.3902, allocations: 59.02 MB / 0.5332 GB, free: 25.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.868, allocations: 11.92 kB / 0.5332 GB, free: 25.57 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 642] Reference file matches [Calling sys.exit(0), Time elapsed: 38.045949924737215]