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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 104.5 kB / 21.18 MB, free: 0.5586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 189.2 kB / 24.47 MB, free: 3.93 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.494/1.494, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 55.92 kB / 347.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.345, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006261/0.3512, allocations: 4.6 MB / 401.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.3549, allocations: 1.384 MB / 402.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.3555, allocations: 30.53 kB / 402.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.356, allocations: 183.3 kB / 403 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.3564, allocations: 171.7 kB / 403.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009363/0.3573, allocations: 375 kB / 403.5 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3584, allocations: 0.9743 MB / 404.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.3588, allocations: 288.9 kB / 404.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.3593, allocations: 340.2 kB / 405.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.3597, allocations: 348.4 kB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.3598, allocations: 72.44 kB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.3601, allocations: 120.7 kB / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3603, allocations: 167.4 kB / 405.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.3606, allocations: 434.5 kB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.3623, allocations: 1.101 MB / 407.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3623, allocations: 4 kB / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3623, allocations: 0 / 407.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.3624, allocations: 1.375 kB / 407.3 MB, free: 2.754 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.001721/0.3641, allocations: 1.097 MB / 408.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.3641, allocations: 8.906 kB / 408.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3643, allocations: 112.7 kB / 408.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.3653, allocations: 0.5485 MB / 409.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3653, allocations: 58.41 kB / 409.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3655, allocations: 88.47 kB / 409.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3667, allocations: 0.8467 MB / 410.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.3667, allocations: 9.188 kB / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.3668, allocations: 37.62 kB / 410.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.3668, allocations: 21.03 kB / 410.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.3677, allocations: 475 kB / 410.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.372, allocations: 4.33 MB / 414.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.3726, allocations: 289.8 kB / 415.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.3729, allocations: 130.8 kB / 415.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.373, allocations: 12.12 kB / 415.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.3731, allocations: 41.7 kB / 415.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.3731, allocations: 0 / 415.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003701/0.3768, allocations: 1.6 MB / 417 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3768, allocations: 57.75 kB / 417.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.3775, allocations: 0.544 MB / 417.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.3776, allocations: 35.98 kB / 417.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.378, allocations: 489.1 kB / 418.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.3782, allocations: 224.2 kB / 418.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.3784, allocations: 141.8 kB / 418.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.3786, allocations: 383.2 kB / 418.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3789, allocations: 159.4 kB / 419 MB, free: 9.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.3795, allocations: 453.4 kB / 419.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.3804, allocations: 0.6664 MB / 420.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3804, allocations: 2.844 kB / 420.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001367/0.3818, allocations: 0.7393 MB / 420.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3818, allocations: 9.562 kB / 420.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3818, allocations: 13.34 kB / 420.9 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.382, allocations: 51.52 kB / 420.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.3826, allocations: 181.8 kB / 421.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.3847, allocations: 1.582 MB / 422.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.3852, allocations: 25.66 kB / 422.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/0.3852, allocations: 37.5 kB / 422.8 MB, free: 6.844 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.0005343/0.3858, allocations: 232.5 kB / 423 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3859, allocations: 81.88 kB / 423.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.3861, allocations: 79.56 kB / 423.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3861, allocations: 5.5 kB / 423.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.3861, allocations: 1.375 kB / 423.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3861, allocations: 1.375 kB / 423.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3884, allocations: 1.381 MB / 424.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3884, allocations: 3.906 kB / 424.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.3889, allocations: 119.9 kB / 424.7 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.113e-05/0.389, allocations: 16.05 kB / 424.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.389, allocations: 19.34 kB / 424.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3901, allocations: 1.271 MB / 426 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3902, allocations: 2.875 kB / 426 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3916, allocations: 0.7779 MB / 426.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.3918, allocations: 76.33 kB / 426.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.3918, allocations: 13.06 kB / 426.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.392, allocations: 14.16 kB / 426.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3922, allocations: 46.33 kB / 426.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.3922, allocations: 18.03 kB / 426.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.3928, allocations: 360.8 kB / 427.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3928, allocations: 0 / 427.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.3936, allocations: 142.8 kB / 427.4 MB, free: 3.273 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.0001926/0.3938, allocations: 115.6 kB / 427.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.395, allocations: 0.5615 MB / 428.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.395, allocations: 1.094 kB / 428.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3955, allocations: 302.4 kB / 428.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.3962, allocations: 105 kB / 428.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3993, allocations: 1.885 MB / 430.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.4, allocations: 0.9652 MB / 431.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00025/0.4003, allocations: 81.94 kB / 431.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4004, allocations: 59.42 kB / 431.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4004, allocations: 0 / 431.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Templates: time 0.01343/0.4138, allocations: 5.893 MB / 437.3 MB, free: 9.562 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.924357566982508]