Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.001326/0.001326, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001444/0.001444, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.49/1.49, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.2042/0.3079, allocations: 5.459 MB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3114, allocations: 2.157 MB / 435.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007511/0.3122, allocations: 39.66 kB / 435.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.3126, allocations: 203.2 kB / 435.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.313, allocations: 175.1 kB / 435.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.3139, allocations: 404.8 kB / 436.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008594/0.3148, allocations: 1.011 MB / 437.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005968/0.3154, allocations: 423.5 kB / 437.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.3158, allocations: 344 kB / 438 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.3162, allocations: 366.9 kB / 438.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3163, allocations: 95.91 kB / 438.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.3166, allocations: 156.6 kB / 438.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3168, allocations: 204.4 kB / 438.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.3171, allocations: 433.8 kB / 439.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.3184, allocations: 1.201 MB / 440.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3184, allocations: 0 / 440.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3184, allocations: 0 / 440.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.3184, allocations: 0 / 440.4 MB, free: 5.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001438/0.3199, allocations: 1.062 MB / 441.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3199, allocations: 10.09 kB / 441.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.3202, allocations: 99.7 kB / 441.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.3209, allocations: 0.5239 MB / 442.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.3209, allocations: 64 kB / 442.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3211, allocations: 89.41 kB / 442.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3224, allocations: 0.8054 MB / 443.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.3225, allocations: 8.562 kB / 443.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.3225, allocations: 37.69 kB / 443.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.3226, allocations: 20.75 kB / 443.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009625/0.3235, allocations: 0.4917 MB / 443.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.3266, allocations: 2.87 MB / 446.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.3272, allocations: 198.1 kB / 446.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3273, allocations: 97.09 kB / 446.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.3275, allocations: 254.2 kB / 447 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.3275, allocations: 40.84 kB / 447.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.3275, allocations: 3.938 kB / 447.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002282/0.3298, allocations: 1.264 MB / 448.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.3298, allocations: 57.97 kB / 448.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3301, allocations: 309.8 kB / 448.7 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3301, allocations: 30.89 kB / 448.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3303, allocations: 413.6 kB / 449.2 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.3304, allocations: 135.2 kB / 449.3 MB, free: 0 / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.3306, allocations: 92.39 kB / 449.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3307, allocations: 359 kB / 449.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.331, allocations: 109.2 kB / 449.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3313, allocations: 246.6 kB / 450.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.3319, allocations: 388.5 kB / 450.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3319, allocations: 2.922 kB / 450.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007764/0.3326, allocations: 465.6 kB / 450.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3327, allocations: 12.14 kB / 450.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3327, allocations: 4.281 kB / 450.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.3329, allocations: 39.77 kB / 451 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3332, allocations: 110.8 kB / 451.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004571/0.3337, allocations: 0.5607 MB / 451.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3339, allocations: 14.5 kB / 451.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.3339, allocations: 22.66 kB / 451.7 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.3343, allocations: 224.5 kB / 451.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.3343, allocations: 41.2 kB / 451.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.335, allocations: 319.3 kB / 452.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.335, allocations: 2.906 kB / 452.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.335, allocations: 1.25 kB / 452.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.335, allocations: 10 kB / 452.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.3366, allocations: 1.014 MB / 453.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3366, allocations: 2.25 kB / 453.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.337, allocations: 84.86 kB / 453.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.3372, allocations: 29.56 kB / 453.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.3372, allocations: 10.22 kB / 453.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003999/0.3376, allocations: 0.5493 MB / 453.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3376, allocations: 2.188 kB / 453.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000834/0.3384, allocations: 0.5498 MB / 454.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3386, allocations: 107.8 kB / 454.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3386, allocations: 9.75 kB / 454.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3388, allocations: 12.09 kB / 454.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.3388, allocations: 27.62 kB / 454.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3389, allocations: 13.52 kB / 454.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.3391, allocations: 219.7 kB / 454.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3391, allocations: 0 / 454.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3397, allocations: 117.1 kB / 455 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.3399, allocations: 123.8 kB / 455.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.3405, allocations: 299.4 kB / 455.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3405, allocations: 2.625 kB / 455.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.3408, allocations: 140.4 kB / 455.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.3414, allocations: 75.2 kB / 455.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3441, allocations: 1.638 MB / 457.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.3447, allocations: 0.9248 MB / 458.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3448, allocations: 34.83 kB / 458.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3448, allocations: 1 kB / 458.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of Templates: time 0.01552/0.3603, allocations: 9.89 MB / 468.1 MB, free: 5.352 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.771660380065441]