Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.0008634/0.0008634, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.005311/0.005311, allocations: 149.5 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8671/0.8671, allocations: 173.4 MB / 201.2 MB, free: 9.074 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.032e-05, allocations: 6.219 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.003657/0.003687, allocations: 4.1 MB / 323.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.005701, allocations: 1.298 MB / 325.1 MB, free: 444 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.005988, allocations: 35.69 kB / 325.1 MB, free: 408 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.006285, allocations: 178.2 kB / 325.3 MB, free: 228 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.006527, allocations: 182.1 kB / 325.5 MB, free: 44 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.00717, allocations: 375.3 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.007806, allocations: 1.005 MB / 326.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.008128, allocations: 267.4 kB / 327.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.008676, allocations: 498.9 kB / 327.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.008877, allocations: 235.1 kB / 327.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.008949, allocations: 72 kB / 327.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.009101, allocations: 115.9 kB / 328 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.009188, allocations: 179.2 kB / 328.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.009332, allocations: 259.3 kB / 328.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.0101, allocations: 1.09 MB / 329.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0101, allocations: 8 kB / 329.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01011, allocations: 3.938 kB / 329.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.01011, allocations: 3.938 kB / 329.5 MB, free: 11.94 MB / 298.7 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.0009812/0.0111, allocations: 1.077 MB / 330.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01114, allocations: 8.922 kB / 330.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.01124, allocations: 111.3 kB / 330.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.01192, allocations: 0.5512 MB / 331.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.01196, allocations: 58 kB / 331.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.01204, allocations: 83.95 kB / 331.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.01287, allocations: 0.8443 MB / 332.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.0129, allocations: 11.89 kB / 332.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.01294, allocations: 39.94 kB / 332.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01295, allocations: 24 kB / 332.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.01352, allocations: 467.3 kB / 332.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.01598, allocations: 4.066 MB / 336.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.01637, allocations: 295.8 kB / 337.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.01651, allocations: 125.6 kB / 337.3 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.01661, allocations: 24.28 kB / 337.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01664, allocations: 38.94 kB / 337.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 3.035e-06/0.01664, allocations: 4 kB / 337.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.002039/0.01868, allocations: 1.59 MB / 338.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.01872, allocations: 59.91 kB / 339 MB, free: 2.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.01912, allocations: 0.5547 MB / 339.5 MB, free: 1.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01914, allocations: 37.7 kB / 339.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.01934, allocations: 483.8 kB / 340 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.01944, allocations: 222.1 kB / 340.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01955, allocations: 138.6 kB / 340.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01965, allocations: 390.6 kB / 340.8 MB, free: 216 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.01983, allocations: 157.9 kB / 340.9 MB, free: 56 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.02028, allocations: 463.2 kB / 341.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.0208, allocations: 0.676 MB / 342.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0208, allocations: 7.938 kB / 342.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0006928/0.02149, allocations: 0.7326 MB / 342.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.02151, allocations: 12 kB / 342.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.02152, allocations: 12.12 kB / 342.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.02166, allocations: 56.72 kB / 342.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.022, allocations: 175.7 kB / 343.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009102/0.02291, allocations: 1.543 MB / 344.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.02309, allocations: 31.94 kB / 344.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.02312, allocations: 36 kB / 344.7 MB, free: 11.95 MB / 314.7 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.0002385/0.02336, allocations: 237.5 kB / 344.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.02341, allocations: 75.53 kB / 345 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.02348, allocations: 75.06 kB / 345 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.02348, allocations: 8 kB / 345 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.02349, allocations: 0 / 345 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.02349, allocations: 3.938 kB / 345.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.02462, allocations: 1.182 MB / 346.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.02463, allocations: 4 kB / 346.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.02488, allocations: 115.8 kB / 346.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/0.02494, allocations: 24.89 kB / 346.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.02496, allocations: 19.92 kB / 346.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.02551, allocations: 1.245 MB / 347.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02552, allocations: 4 kB / 347.6 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.02629, allocations: 0.7768 MB / 348.4 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.02633, allocations: 59.53 kB / 348.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.02636, allocations: 16 kB / 348.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.02647, allocations: 20.11 kB / 348.5 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.02652, allocations: 43.88 kB / 348.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.02654, allocations: 23.98 kB / 348.6 MB, free: 7.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.02679, allocations: 359.1 kB / 348.9 MB, free: 7.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02679, allocations: 0 / 348.9 MB, free: 7.438 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.0272, allocations: 140 kB / 349.1 MB, free: 7.301 MB / 314.7 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.0001189/0.02732, allocations: 119.1 kB / 349.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.02796, allocations: 0.5731 MB / 349.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.02796, allocations: 0 / 349.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.02818, allocations: 298.2 kB / 350 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.02858, allocations: 99.45 kB / 350.1 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.03028, allocations: 1.688 MB / 351.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.0305, allocations: 370.3 kB / 352.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.0306, allocations: 64.48 kB / 352.3 MB, free: 3.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0306, allocations: 0 / 352.3 MB, free: 3.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01047/0.04107, allocations: 12.78 MB / 365 MB, free: 7.191 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.037543562240899]