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.001454/0.001454, allocations: 82.5 kB / 21.43 MB, free: 296 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.001622/0.001622, allocations: 160.8 kB / 24.7 MB, free: 3.551 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.368/1.368, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.54e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005753/0.005779, allocations: 4.082 MB / 303 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.008638, allocations: 1.338 MB / 304.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.009057, allocations: 31.69 kB / 304.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/0.009482, allocations: 190.2 kB / 304.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.009931, allocations: 166.2 kB / 304.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.0109, allocations: 383.3 kB / 305.1 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.01208, allocations: 0.9935 MB / 306.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.01257, allocations: 267.4 kB / 306.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006624/0.01323, allocations: 0.491 MB / 306.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.01359, allocations: 239.1 kB / 307.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.0137, allocations: 72 kB / 307.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.01395, allocations: 115.9 kB / 307.3 MB, free: 344 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01411, allocations: 171.3 kB / 307.4 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.01443, allocations: 259.2 kB / 307.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.01574, allocations: 1.105 MB / 308.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01575, allocations: 0 / 308.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01575, allocations: 0 / 308.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.01576, allocations: 3.938 kB / 308.8 MB, free: 14.8 MB / 302.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.001681/0.01745, allocations: 1.081 MB / 309.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01748, allocations: 12.02 kB / 309.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.01764, allocations: 111.3 kB / 310 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.01865, allocations: 0.5512 MB / 310.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.01872, allocations: 61.98 kB / 310.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.01884, allocations: 87.89 kB / 310.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.02028, allocations: 0.8521 MB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.02032, allocations: 8 kB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.02039, allocations: 39.88 kB / 311.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.02041, allocations: 20 kB / 311.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.02136, allocations: 467.3 kB / 312.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.02526, allocations: 4.077 MB / 316.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.02588, allocations: 299.5 kB / 316.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.02612, allocations: 129.6 kB / 316.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.02625, allocations: 16.36 kB / 316.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.02629, allocations: 38.94 kB / 316.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.244e-06/0.02629, allocations: 0 / 316.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.003523/0.02981, allocations: 1.592 MB / 318.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.02986, allocations: 55.91 kB / 318.3 MB, free: 4.902 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.0305, allocations: 0.5508 MB / 318.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.03053, allocations: 41.7 kB / 318.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.0309, allocations: 487.7 kB / 319.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.03109, allocations: 222.2 kB / 319.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.0313, allocations: 134.6 kB / 319.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.03152, allocations: 386.7 kB / 320.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.03183, allocations: 161.9 kB / 320.2 MB, free: 2.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.0324, allocations: 459.3 kB / 320.7 MB, free: 2.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.03338, allocations: 0.6643 MB / 321.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.03338, allocations: 8 kB / 321.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001263/0.03465, allocations: 0.7364 MB / 322.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.03467, allocations: 11.98 kB / 322.1 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.03469, allocations: 16.12 kB / 322.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.03488, allocations: 48.78 kB / 322.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.03549, allocations: 179.7 kB / 322.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1532/0.1887, allocations: 1.54 MB / 323.9 MB, free: 32.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1892, allocations: 26.94 kB / 323.9 MB, free: 32.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.1892, allocations: 37.56 kB / 323.9 MB, free: 32.32 MB / 302.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.0003213/0.1895, allocations: 238.4 kB / 324.2 MB, free: 32.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1897, allocations: 78.62 kB / 324.2 MB, free: 32.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.1898, allocations: 76.53 kB / 324.3 MB, free: 32.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1898, allocations: 5.5 kB / 324.3 MB, free: 32.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1899, allocations: 4.344 kB / 324.3 MB, free: 32.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1899, allocations: 2.812 kB / 324.3 MB, free: 32.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.1916, allocations: 1.178 MB / 325.5 MB, free: 31.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1916, allocations: 6.609 kB / 325.5 MB, free: 31.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.1921, allocations: 120.9 kB / 325.6 MB, free: 31.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.854e-05/0.1922, allocations: 24.95 kB / 325.7 MB, free: 31.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.1922, allocations: 14.91 kB / 325.7 MB, free: 31.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006588/0.1929, allocations: 1.239 MB / 326.9 MB, free: 30.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1929, allocations: 7.125 kB / 326.9 MB, free: 30.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.194, allocations: 0.7754 MB / 327.7 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1941, allocations: 65.41 kB / 327.8 MB, free: 30.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.1942, allocations: 18.81 kB / 327.8 MB, free: 30.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1944, allocations: 14.5 kB / 327.8 MB, free: 30.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.1945, allocations: 50.55 kB / 327.8 MB, free: 30 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.1945, allocations: 17.97 kB / 327.9 MB, free: 29.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004741/0.195, allocations: 363.8 kB / 328.2 MB, free: 29.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.195, allocations: 0 / 328.2 MB, free: 29.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.1957, allocations: 138.2 kB / 328.3 MB, free: 29.8 MB / 302.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.0001388/0.1958, allocations: 115.9 kB / 328.5 MB, free: 29.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.1968, allocations: 0.5702 MB / 329 MB, free: 29.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1968, allocations: 1.344 kB / 329 MB, free: 29.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.1971, allocations: 298.5 kB / 329.3 MB, free: 29.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.1978, allocations: 95.89 kB / 329.4 MB, free: 29.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1998, allocations: 1.651 MB / 331.1 MB, free: 28.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2001, allocations: 372.8 kB / 331.4 MB, free: 28.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.2004, allocations: 87.91 kB / 331.5 MB, free: 28.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.2005, allocations: 60.42 kB / 331.6 MB, free: 28.06 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2005, allocations: 0 / 331.6 MB, free: 28.06 MB / 302.1 MB Notification: Performance of Templates: time 0.01212/0.2126, allocations: 5.203 MB / 336.8 MB, free: 27.01 MB / 302.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.591321099549532]