Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.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.001687/0.001687, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 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.00218/0.00218, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 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 1.541/1.541, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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: 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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.94 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3162, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006992/0.3232, allocations: 5.463 MB / 403.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004619/0.3279, allocations: 2.142 MB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.3291, allocations: 49.16 kB / 405.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.3297, allocations: 208.2 kB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.3302, allocations: 176.6 kB / 405.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3313, allocations: 416.1 kB / 406 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.3326, allocations: 0.9975 MB / 407 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.3333, allocations: 420.9 kB / 407.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.3337, allocations: 355 kB / 407.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.3342, allocations: 366.8 kB / 408.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3343, allocations: 91.5 kB / 408.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.3346, allocations: 149.3 kB / 408.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3348, allocations: 205.6 kB / 408.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.3351, allocations: 431.9 kB / 409 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.337, allocations: 1.184 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.337, allocations: 1.375 kB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3371, allocations: 3.938 kB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3371, allocations: 0 / 410.2 MB, free: 1.43 MB / 318.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.001517/0.3386, allocations: 0.9727 MB / 411.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3386, allocations: 13.83 kB / 411.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.3388, allocations: 95.72 kB / 411.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.3396, allocations: 467.3 kB / 411.7 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.3396, allocations: 63.97 kB / 411.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3397, allocations: 88.11 kB / 411.9 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3412, allocations: 0.8056 MB / 412.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.3412, allocations: 7.031 kB / 412.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.3413, allocations: 32.34 kB / 412.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.3413, allocations: 21.62 kB / 412.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.3423, allocations: 499.9 kB / 413.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.346, allocations: 2.776 MB / 416 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.3466, allocations: 202.9 kB / 416.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3468, allocations: 102.7 kB / 416.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.3469, allocations: 23.44 kB / 416.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3469, allocations: 35.88 kB / 416.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3469, allocations: 3.938 kB / 416.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002455/0.3494, allocations: 1.125 MB / 417.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3494, allocations: 59.16 kB / 417.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.3498, allocations: 301.6 kB / 417.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3498, allocations: 30.95 kB / 417.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.3502, allocations: 413.6 kB / 418.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3503, allocations: 135.4 kB / 418.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3504, allocations: 91.27 kB / 418.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3506, allocations: 351.5 kB / 418.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3508, allocations: 105.4 kB / 418.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.3512, allocations: 257 kB / 419.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/0.3518, allocations: 382.4 kB / 419.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3518, allocations: 1.094 kB / 419.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000774/0.3526, allocations: 459.1 kB / 420 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3526, allocations: 7.531 kB / 420 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3526, allocations: 4.156 kB / 420 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.3528, allocations: 42.67 kB / 420.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3532, allocations: 111.3 kB / 420.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.3536, allocations: 0.5563 MB / 420.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.3538, allocations: 20.03 kB / 420.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.3539, allocations: 20.62 kB / 420.8 MB, free: 9.551 MB / 334.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.0004299/0.3543, allocations: 222.6 kB / 421 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.3544, allocations: 37.3 kB / 421 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.355, allocations: 321.5 kB / 421.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3551, allocations: 4.406 kB / 421.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3551, allocations: 0 / 421.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3551, allocations: 3.984 kB / 421.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.3567, allocations: 0.9823 MB / 422.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3567, allocations: 1.125 kB / 422.3 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.3571, allocations: 82.67 kB / 422.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.3572, allocations: 29.84 kB / 422.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.3572, allocations: 16.22 kB / 422.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004211/0.3576, allocations: 0.5487 MB / 423 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3577, allocations: 5.625 kB / 423 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.3585, allocations: 0.5548 MB / 423.6 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.3586, allocations: 30.42 kB / 423.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.3586, allocations: 7.906 kB / 423.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3588, allocations: 11.95 kB / 423.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.3588, allocations: 24.91 kB / 423.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3589, allocations: 17.64 kB / 423.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.3591, allocations: 213.5 kB / 423.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 423.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005796/0.3597, allocations: 115.8 kB / 424 MB, free: 7.211 MB / 334.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.0002102/0.3599, allocations: 123.8 kB / 424.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.3606, allocations: 305.7 kB / 424.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3606, allocations: 0 / 424.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3609, allocations: 132 kB / 424.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.3614, allocations: 65.25 kB / 424.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.3642, allocations: 1.649 MB / 426.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.3649, allocations: 0.922 MB / 427.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.365, allocations: 37.16 kB / 427.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.365, allocations: 0 / 427.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of Templates: time 0.015/0.38, allocations: 9.856 MB / 437.1 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.357935701031238]