Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.00168/0.00168, allocations: 108.9 kB / 21.93 MB, free: 5.223 MB / 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.001428/0.001428, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.712/1.712, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.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.002145/0.002145, allocations: 51.09 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005756/0.3692, allocations: 4.088 MB / 401.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3718, allocations: 1.335 MB / 403 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.3721, allocations: 33.78 kB / 403.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.3725, allocations: 180.5 kB / 403.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.3729, allocations: 171.2 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.3737, allocations: 370.9 kB / 403.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009666/0.3747, allocations: 0.9722 MB / 404.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.3752, allocations: 268 kB / 405 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.3756, allocations: 344.6 kB / 405.3 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.376, allocations: 305.7 kB / 405.6 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3761, allocations: 72.28 kB / 405.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.3763, allocations: 112.3 kB / 405.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3765, allocations: 179.7 kB / 406 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.3769, allocations: 330.4 kB / 406.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.379, allocations: 1.11 MB / 407.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.379, allocations: 7.938 kB / 407.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.379, allocations: 0 / 407.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.3791, allocations: 0 / 407.4 MB, free: 3.379 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001802/0.3809, allocations: 1.098 MB / 408.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3809, allocations: 9.625 kB / 408.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.3811, allocations: 111.5 kB / 408.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3821, allocations: 0.5499 MB / 409.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.3821, allocations: 57.62 kB / 409.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3822, allocations: 84.86 kB / 409.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3836, allocations: 0.8476 MB / 410.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.3837, allocations: 9.094 kB / 410.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.3837, allocations: 33.56 kB / 410.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.3838, allocations: 25.12 kB / 410.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.3847, allocations: 467.1 kB / 410.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.3884, allocations: 4.087 MB / 414.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.389, allocations: 294.5 kB / 415.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.3893, allocations: 126.3 kB / 415.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3894, allocations: 19.83 kB / 415.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.3895, allocations: 37.41 kB / 415.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.595e-06/0.3895, allocations: 4.906 kB / 415.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003748/0.3932, allocations: 1.594 MB / 416.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3933, allocations: 62.58 kB / 416.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.394, allocations: 0.5432 MB / 417.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.3941, allocations: 35.05 kB / 417.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.3945, allocations: 497.6 kB / 418 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.3947, allocations: 224.5 kB / 418.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.3949, allocations: 133.2 kB / 418.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.3951, allocations: 387 kB / 418.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.3954, allocations: 160.7 kB / 418.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.396, allocations: 461.1 kB / 419.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/0.397, allocations: 0.6584 MB / 420 MB, free: 9.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.397, allocations: 4.438 kB / 420 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001248/0.3982, allocations: 0.7461 MB / 420.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3982, allocations: 9.094 kB / 420.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.3983, allocations: 10.09 kB / 420.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.3985, allocations: 54.16 kB / 420.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.3991, allocations: 182.3 kB / 421 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.4006, allocations: 1.549 MB / 422.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.4009, allocations: 29.09 kB / 422.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.401, allocations: 38.34 kB / 422.6 MB, free: 7.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003857/0.4014, allocations: 240.4 kB / 422.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4015, allocations: 74.5 kB / 422.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4016, allocations: 75.23 kB / 423 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4016, allocations: 11.28 kB / 423 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4017, allocations: 0 / 423 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4017, allocations: 3.984 kB / 423 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4037, allocations: 1.192 MB / 424.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4037, allocations: 6.812 kB / 424.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.4042, allocations: 114.9 kB / 424.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-05/0.4043, allocations: 26.03 kB / 424.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.4044, allocations: 13.62 kB / 424.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.4056, allocations: 1.243 MB / 425.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4056, allocations: 4.25 kB / 425.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4071, allocations: 0.7784 MB / 426.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4072, allocations: 63.36 kB / 426.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.4073, allocations: 13.94 kB / 426.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.4075, allocations: 14.5 kB / 426.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.4076, allocations: 47.61 kB / 426.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.4076, allocations: 16.78 kB / 426.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.4082, allocations: 361.8 kB / 426.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 5.469 kB / 426.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008829/0.4091, allocations: 137.2 kB / 427 MB, free: 4.398 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.4093, allocations: 116.2 kB / 427.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4106, allocations: 0.5689 MB / 427.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4106, allocations: 1.688 kB / 427.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.411, allocations: 300 kB / 428 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.4117, allocations: 107.2 kB / 428.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.4149, allocations: 1.903 MB / 430 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4153, allocations: 374.3 kB / 430.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4154, allocations: 67.42 kB / 430.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4154, allocations: 0 / 430.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of Templates: time 0.01922/0.4347, allocations: 12.76 MB / 443.2 MB, free: 4.352 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.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.698377823922783]