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.001424/0.001424, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001376/0.001376, allocations: 214.2 kB / 22.99 MB, free: 5.609 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.001906/0.001906, allocations: 59.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2933, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007433/0.3008, allocations: 5.511 MB / 435.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.305, allocations: 2.161 MB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.3057, allocations: 39.75 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.3062, allocations: 202.2 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.3066, allocations: 178.4 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3077, allocations: 422.7 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3088, allocations: 1.009 MB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006924/0.3095, allocations: 417.1 kB / 439.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.31, allocations: 350.7 kB / 440 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.3104, allocations: 362.4 kB / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3105, allocations: 92 kB / 440.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.3108, allocations: 156 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.311, allocations: 219.2 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.3114, allocations: 434 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3126, allocations: 1.188 MB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3126, allocations: 4 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3126, allocations: 0 / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3126, allocations: 0 / 442.5 MB, free: 10.8 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.001582/0.3142, allocations: 1.06 MB / 443.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3143, allocations: 12.03 kB / 443.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3145, allocations: 100.4 kB / 443.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.3153, allocations: 0.5223 MB / 444.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.3153, allocations: 62.38 kB / 444.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3155, allocations: 88.33 kB / 444.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3169, allocations: 0.8125 MB / 445.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.317, allocations: 4 kB / 445.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.317, allocations: 36 kB / 445.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.3171, allocations: 20 kB / 445.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.3181, allocations: 0.4918 MB / 445.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.3216, allocations: 2.865 MB / 448.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.3221, allocations: 198.3 kB / 448.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.3223, allocations: 116.6 kB / 448.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.3225, allocations: 247.3 kB / 449.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.132e-05/0.3226, allocations: 31.06 kB / 449.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.714e-06/0.3226, allocations: 3.938 kB / 449.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002526/0.3251, allocations: 1.27 MB / 450.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3252, allocations: 55.41 kB / 450.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.3255, allocations: 309.7 kB / 450.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3256, allocations: 33.7 kB / 450.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.3259, allocations: 411.7 kB / 451.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.326, allocations: 138.8 kB / 451.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3261, allocations: 86.22 kB / 451.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3263, allocations: 354.7 kB / 451.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.3265, allocations: 109.1 kB / 451.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.3268, allocations: 254.7 kB / 452.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.3274, allocations: 384.7 kB / 452.5 MB, free: 192 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3274, allocations: 4 kB / 452.5 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000784/0.3282, allocations: 461.8 kB / 452.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.3282, allocations: 12.03 kB / 452.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3282, allocations: 4 kB / 452.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.3284, allocations: 32.84 kB / 453 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3288, allocations: 111.8 kB / 453.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004644/0.3293, allocations: 0.5601 MB / 453.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3294, allocations: 12 kB / 453.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.3295, allocations: 28.06 kB / 453.7 MB, free: 14.94 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.0003153/0.3298, allocations: 221.6 kB / 453.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3298, allocations: 39.77 kB / 453.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.3305, allocations: 325.3 kB / 454.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3305, allocations: 4 kB / 454.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3305, allocations: 4 kB / 454.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3305, allocations: 3.984 kB / 454.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.332, allocations: 1.016 MB / 455.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.332, allocations: 4.141 kB / 455.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.3323, allocations: 79.91 kB / 455.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.3324, allocations: 32.84 kB / 455.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.3325, allocations: 15.92 kB / 455.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003564/0.3328, allocations: 0.5445 MB / 456 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3328, allocations: 7.969 kB / 456 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007793/0.3336, allocations: 0.5412 MB / 456.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.3337, allocations: 116.8 kB / 456.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3337, allocations: 16 kB / 456.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3339, allocations: 8 kB / 456.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.334, allocations: 19.97 kB / 456.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.334, allocations: 12 kB / 456.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.3342, allocations: 215.1 kB / 456.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3342, allocations: 4 kB / 456.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.3347, allocations: 116 kB / 457 MB, free: 11.45 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.0002166/0.3349, allocations: 131.2 kB / 457.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.3355, allocations: 297.5 kB / 457.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3355, allocations: 0 / 457.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.3358, allocations: 140 kB / 457.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.3363, allocations: 57.39 kB / 457.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3389, allocations: 1.612 MB / 459.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.3394, allocations: 0.9288 MB / 460.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.3396, allocations: 50.95 kB / 460.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.3396, allocations: 27.44 kB / 460.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3396, allocations: 0 / 460.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of Templates: time 0.009358/0.349, allocations: 4.043 MB / 464.3 MB, free: 4.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.529815887100995]