Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.0008774/0.0008774, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004376/0.004376, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8762/0.8762, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.173e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.1692/0.1692, allocations: 11.74 MB / 310.2 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009739/0.1789, allocations: 4.525 MB / 314.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1807, allocations: 87.84 kB / 314.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.1833, allocations: 1.101 MB / 315.9 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.1862, allocations: 1.386 MB / 317.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.188, allocations: 0.9821 MB / 318.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.1921, allocations: 4.252 MB / 322.5 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.1942, allocations: 1.708 MB / 324.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/0.1982, allocations: 2.852 MB / 327.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/0.2009, allocations: 1.849 MB / 328.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007675/0.2016, allocations: 0.5074 MB / 329.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.203, allocations: 0.7452 MB / 330.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008238/0.2038, allocations: 1.166 MB / 331.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.2055, allocations: 1.441 MB / 332.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005806/0.2114, allocations: 6.863 MB / 339.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.2114, allocations: 0 / 339.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.2114, allocations: 4 kB / 339.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.2115, allocations: 0 / 339.7 MB, free: 5.531 MB / 298.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.00758/0.2191, allocations: 4.458 MB / 344.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.2191, allocations: 11.98 kB / 344.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000432/0.2195, allocations: 459.7 kB / 344.6 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.2218, allocations: 0.8455 MB / 345.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.2246, allocations: 2.256 MB / 347.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2247, allocations: 238.4 kB / 347.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.2251, allocations: 319.9 kB / 348.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/0.2304, allocations: 4.439 MB / 352.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/0.2305, allocations: 7.953 kB / 352.7 MB, free: 8.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.2307, allocations: 128 kB / 352.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.2308, allocations: 150.4 kB / 353 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.2355, allocations: 3.617 MB / 356.6 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.2503, allocations: 11.84 MB / 368.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.2536, allocations: 2.668 MB / 371.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.2549, allocations: 1.251 MB / 372.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004169/0.2591, allocations: 3.216 MB / 375.5 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009716/0.2601, allocations: 1.004 MB / 376.5 MB, free: 160 kB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.936e-06/0.2601, allocations: 0 / 376.5 MB, free: 160 kB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.00851/0.2686, allocations: 5.923 MB / 382.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.2687, allocations: 222.9 kB / 382.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.2711, allocations: 1.946 MB / 384.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.2712, allocations: 49.7 kB / 384.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.2724, allocations: 1.506 MB / 386.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.2728, allocations: 0.4958 MB / 386.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.2731, allocations: 311.5 kB / 387 MB, free: 5.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.2732, allocations: 305.1 kB / 387.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/0.274, allocations: 0.6637 MB / 387.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2752, allocations: 1.386 MB / 389.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.2772, allocations: 1.948 MB / 391.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.2772, allocations: 4 kB / 391.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002899/0.2801, allocations: 2.354 MB / 393.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.2801, allocations: 20.02 kB / 393.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.2801, allocations: 16 kB / 393.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.2806, allocations: 291.2 kB / 394 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.2814, allocations: 379.4 kB / 394.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.2862, allocations: 6.01 MB / 400.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009052/0.2871, allocations: 87.95 kB / 400.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.2872, allocations: 68 kB / 400.5 MB, free: 7.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001641/0.2888, allocations: 1.033 MB / 401.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.289, allocations: 214.6 kB / 401.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.2915, allocations: 2.095 MB / 403.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2916, allocations: 19.94 kB / 403.8 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.2916, allocations: 4 kB / 403.9 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.2916, allocations: 7.969 kB / 403.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.2975, allocations: 4.613 MB / 408.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2975, allocations: 0 / 408.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.2979, allocations: 183.8 kB / 408.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007412/0.2987, allocations: 472 kB / 409.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.2988, allocations: 35.98 kB / 409.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.3061, allocations: 10.52 MB / 419.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3061, allocations: 3.938 kB / 419.7 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.3095, allocations: 2.987 MB / 422.7 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.3101, allocations: 374.5 kB / 423 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3103, allocations: 39.94 kB / 423.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.3107, allocations: 63.95 kB / 423.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.3109, allocations: 109.2 kB / 423.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.311, allocations: 39.98 kB / 423.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001401/0.3124, allocations: 1.315 MB / 424.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3124, allocations: 0 / 424.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001432/0.3138, allocations: 0.582 MB / 425.2 MB, free: 13.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 96 * 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,5,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.004098/0.3179, allocations: 3.944 MB / 429.1 MB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.3202, allocations: 2.029 MB / 431.1 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3202, allocations: 0.9375 kB / 431.1 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.3215, allocations: 1.508 MB / 432.6 MB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.3228, allocations: 0.5406 MB / 433.2 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.3491, allocations: 19.95 MB / 453.1 MB, free: 1.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/0.3511, allocations: 1.802 MB / 454.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.3524, allocations: 405 kB / 455.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.3537, allocations: 1.172 MB / 456.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3537, allocations: 0 / 456.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2503/0.6039, allocations: 58.2 MB / 0.5026 GB, free: 111.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/9.037, allocations: 3.953 kB / 0.5026 GB, free: 111.5 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.66187717113644]