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.001417/0.001417, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001483/0.001483, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.471/1.471, allocations: 230.2 MB / 254.5 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.001913/0.001913, allocations: 63.89 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1134, allocations: 53.33 MB / 427.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.2128/0.3262, allocations: 5.455 MB / 432.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3296, allocations: 2.153 MB / 434.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.33, allocations: 41.75 kB / 434.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.3304, allocations: 205.1 kB / 435 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3307, allocations: 172.5 kB / 435.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.3315, allocations: 408.5 kB / 435.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000787/0.3323, allocations: 1.006 MB / 436.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.3328, allocations: 423.3 kB / 437 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.3332, allocations: 349.9 kB / 437.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.3336, allocations: 369 kB / 437.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3337, allocations: 96.59 kB / 437.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.334, allocations: 154.9 kB / 437.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3341, allocations: 204.8 kB / 438.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.3345, allocations: 429.9 kB / 438.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.3358, allocations: 1.197 MB / 439.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3358, allocations: 1.062 kB / 439.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3358, allocations: 0 / 439.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.3358, allocations: 0 / 439.8 MB, free: 5.879 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.001422/0.3373, allocations: 1.059 MB / 440.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3373, allocations: 13.97 kB / 440.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.3375, allocations: 100.2 kB / 440.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.3383, allocations: 0.5227 MB / 441.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.3383, allocations: 60.03 kB / 441.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.3385, allocations: 92.89 kB / 441.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3399, allocations: 0.8056 MB / 442.4 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.3399, allocations: 7.844 kB / 442.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.34, allocations: 35.66 kB / 442.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.34, allocations: 22.84 kB / 442.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.3409, allocations: 0.4918 MB / 443 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.3441, allocations: 2.869 MB / 445.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.3446, allocations: 203 kB / 446 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3447, allocations: 105.1 kB / 446.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.3449, allocations: 246 kB / 446.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3449, allocations: 45.56 kB / 446.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.3449, allocations: 0 / 446.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00223/0.3472, allocations: 1.261 MB / 447.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.3472, allocations: 55.81 kB / 447.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.3475, allocations: 316.7 kB / 448 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3475, allocations: 30.83 kB / 448.1 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3477, allocations: 411.7 kB / 448.5 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.3478, allocations: 138.3 kB / 448.6 MB, free: 0 / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.348, allocations: 95.56 kB / 448.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3481, allocations: 353.5 kB / 449 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3483, allocations: 106.9 kB / 449.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3487, allocations: 248.5 kB / 449.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.3492, allocations: 389 kB / 449.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3492, allocations: 5.281 kB / 449.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007557/0.35, allocations: 462.8 kB / 450.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.35, allocations: 10.41 kB / 450.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.35, allocations: 5.359 kB / 450.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.3502, allocations: 38.47 kB / 450.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3505, allocations: 112.2 kB / 450.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005466/0.3511, allocations: 0.5534 MB / 450.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.3513, allocations: 16.58 kB / 451 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.3513, allocations: 28.14 kB / 451 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.0003313/0.3517, allocations: 221.2 kB / 451.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.3517, allocations: 42.08 kB / 451.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007072/0.3524, allocations: 321.7 kB / 451.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3524, allocations: 4.594 kB / 451.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3524, allocations: 4 kB / 451.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3525, allocations: 1.969 kB / 451.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.3541, allocations: 1.012 MB / 452.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3541, allocations: 1.156 kB / 452.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.3544, allocations: 85.89 kB / 452.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.3546, allocations: 29.58 kB / 452.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3546, allocations: 10.17 kB / 452.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004025/0.355, allocations: 0.5489 MB / 453.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.355, allocations: 5.781 kB / 453.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.3559, allocations: 0.5492 MB / 453.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.356, allocations: 109 kB / 453.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.356, allocations: 13.03 kB / 453.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3562, allocations: 7.984 kB / 453.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.3562, allocations: 22.88 kB / 454 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3563, allocations: 16.45 kB / 454 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3566, allocations: 216.9 kB / 454.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3566, allocations: 0 / 454.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.3572, allocations: 117.8 kB / 454.3 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.0002187/0.3574, allocations: 126.1 kB / 454.4 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.3581, allocations: 302.7 kB / 454.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3581, allocations: 3.938 kB / 454.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3584, allocations: 136.3 kB / 454.9 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.0005163/0.3589, allocations: 70.2 kB / 454.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.3616, allocations: 1.598 MB / 456.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.3623, allocations: 0.925 MB / 457.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.3624, allocations: 50.91 kB / 457.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.3625, allocations: 30.55 kB / 457.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3625, allocations: 3.938 kB / 457.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Templates: time 0.009729/0.3722, allocations: 3.944 MB / 461.5 MB, free: 8.789 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.55937619600445]