Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.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.00135/0.00135, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00157/0.00157, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.88 kB / 379 MB, free: 2.734 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2746, allocations: 53.37 MB / 432.4 MB, free: 7.121 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.00664/0.2813, allocations: 4.621 MB / 437 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003259/0.2845, allocations: 1.419 MB / 438.4 MB, free: 1.062 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.2848, allocations: 31.69 kB / 438.5 MB, free: 1.031 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.2852, allocations: 182.2 kB / 438.6 MB, free: 0.8516 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2856, allocations: 162.3 kB / 438.8 MB, free: 0.6914 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009551/0.2865, allocations: 387.3 kB / 439.2 MB, free: 320 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001273/0.2878, allocations: 0.9821 MB / 440.2 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.2883, allocations: 295.2 kB / 440.5 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.2888, allocations: 338.6 kB / 440.8 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.2892, allocations: 350 kB / 441.1 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.2893, allocations: 75.94 kB / 441.2 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.2895, allocations: 116 kB / 441.3 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2897, allocations: 175.3 kB / 441.5 MB, free: 13.98 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.29, allocations: 429.5 kB / 441.9 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2912, allocations: 1.115 MB / 443 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2912, allocations: 0 / 443 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.342e-06/0.2912, allocations: 4 kB / 443 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.246e-05/0.2913, allocations: 0 / 443 MB, free: 12.44 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: 201
 * Number of variables: 201
Notification: Performance of Generate backend data structure: time 0.001733/0.293, allocations: 1.1 MB / 444.1 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.293, allocations: 8.031 kB / 444.1 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.2933, allocations: 119.3 kB / 444.2 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.2943, allocations: 0.5551 MB / 444.8 MB, free: 10.6 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.2943, allocations: 58 kB / 444.9 MB, free: 10.54 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.2945, allocations: 83.95 kB / 444.9 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.2959, allocations: 0.852 MB / 445.8 MB, free: 9.496 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.2959, allocations: 7.938 kB / 445.8 MB, free: 9.488 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.296, allocations: 40 kB / 445.8 MB, free: 9.449 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.296, allocations: 20 kB / 445.9 MB, free: 9.43 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009328/0.2969, allocations: 471.3 kB / 446.3 MB, free: 8.969 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.301, allocations: 4.322 MB / 450.6 MB, free: 4.453 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.3016, allocations: 296 kB / 450.9 MB, free: 4.156 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.3019, allocations: 129.6 kB / 451.1 MB, free: 4.027 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.302, allocations: 20.3 kB / 451.1 MB, free: 4.008 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.302, allocations: 34.94 kB / 451.1 MB, free: 3.965 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=46): time 1.754e-06/0.302, allocations: 0 / 451.1 MB, free: 3.965 MB / 350.1 MB
Notification: Performance of matching and sorting (n=57): time 0.003375/0.3054, allocations: 1.6 MB / 452.7 MB, free: 2.309 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.3054, allocations: 55.91 kB / 452.8 MB, free: 2.238 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.3061, allocations: 0.547 MB / 453.3 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3061, allocations: 33.7 kB / 453.3 MB, free: 1.648 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.3065, allocations: 495.8 kB / 453.8 MB, free: 1.156 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.3067, allocations: 218.1 kB / 454 MB, free: 0.9414 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.3069, allocations: 142.6 kB / 454.2 MB, free: 0.7969 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002055/0.3071, allocations: 382.8 kB / 454.6 MB, free: 424 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.3074, allocations: 157.9 kB / 454.7 MB, free: 264 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.3079, allocations: 455.2 kB / 455.2 MB, free: 15.68 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.3088, allocations: 0.6673 MB / 455.8 MB, free: 14.89 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3088, allocations: 4 kB / 455.8 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of matching and sorting (n=105) (initialization): time 0.001218/0.3101, allocations: 0.7427 MB / 456.6 MB, free: 14.13 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3101, allocations: 8 kB / 456.6 MB, free: 14.12 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3101, allocations: 12 kB / 456.6 MB, free: 14.11 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.3103, allocations: 44.84 kB / 456.6 MB, free: 14.06 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.3109, allocations: 191.6 kB / 456.8 MB, free: 13.88 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.3124, allocations: 1.582 MB / 458.4 MB, free: 12.18 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3127, allocations: 24 kB / 458.4 MB, free: 12.16 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3127, allocations: 40 kB / 458.5 MB, free: 12.12 MB / 366.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.0003101/0.313, allocations: 229.6 kB / 458.7 MB, free: 11.88 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3131, allocations: 83.5 kB / 458.8 MB, free: 11.8 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3133, allocations: 75.08 kB / 458.8 MB, free: 11.72 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3133, allocations: 11.98 kB / 458.9 MB, free: 11.71 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3133, allocations: 0 / 458.9 MB, free: 11.71 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3133, allocations: 0 / 458.9 MB, free: 11.71 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.3154, allocations: 1.38 MB / 460.2 MB, free: 10.23 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3154, allocations: 4 kB / 460.2 MB, free: 10.23 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.3159, allocations: 119.8 kB / 460.4 MB, free: 10.11 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.316, allocations: 20.86 kB / 460.4 MB, free: 10.09 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.316, allocations: 16 kB / 460.4 MB, free: 10.07 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009816/0.317, allocations: 1.279 MB / 461.7 MB, free: 8.68 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.317, allocations: 0 / 461.7 MB, free: 8.68 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3181, allocations: 0.7805 MB / 462.5 MB, free: 7.844 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3182, allocations: 67.45 kB / 462.5 MB, free: 7.777 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.3183, allocations: 12.09 kB / 462.5 MB, free: 7.766 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3185, allocations: 19.94 kB / 462.5 MB, free: 7.746 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3186, allocations: 43.86 kB / 462.6 MB, free: 7.703 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.3186, allocations: 20 kB / 462.6 MB, free: 7.684 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0004911/0.3191, allocations: 367.1 kB / 463 MB, free: 7.332 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3191, allocations: 0 / 463 MB, free: 7.332 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006805/0.3198, allocations: 136 kB / 463.1 MB, free: 7.199 MB / 366.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.0001803/0.3199, allocations: 115.1 kB / 463.2 MB, free: 7.078 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001056/0.321, allocations: 0.5725 MB / 463.8 MB, free: 6.496 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.321, allocations: 0 / 463.8 MB, free: 6.496 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.3214, allocations: 302.5 kB / 464.1 MB, free: 6.188 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/0.3221, allocations: 103.8 kB / 464.2 MB, free: 6.086 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.3251, allocations: 1.88 MB / 466.1 MB, free: 4.141 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.3259, allocations: 0.9691 MB / 467 MB, free: 3.145 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002805/0.3262, allocations: 82.03 kB / 467.1 MB, free: 3.062 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3264, allocations: 59.42 kB / 467.2 MB, free: 3.004 MB / 366.1 MB
Notification: Performance of SimCode: time 6.12e-07/0.3264, allocations: 0 / 467.2 MB, free: 3.004 MB / 366.1 MB
Notification: Performance of Templates: time 0.01407/0.3404, allocations: 5.902 MB / 473.1 MB, free: 13.13 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.622877097688615]