Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001507, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 93.97 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.983e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09082, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.4945, allocations: 81.86 MB / 450.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4948, allocations: 71.58 kB / 451 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0587/0.5535, allocations: 14.43 MB / 465.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5536, allocations: 0 / 465.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.533e-05/0.5536, allocations: 20 kB / 465.5 MB, free: 14.58 MB / 346.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.001956/0.5556, allocations: 0.8969 MB / 466.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5557, allocations: 8.031 kB / 466.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.5559, allocations: 102.8 kB / 466.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5572, allocations: 0.5199 MB / 467 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.5573, allocations: 58.72 kB / 467 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.5575, allocations: 91.98 kB / 467.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.5594, allocations: 0.8092 MB / 467.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.5595, allocations: 23.83 kB / 468 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.5596, allocations: 32 kB / 468 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.5597, allocations: 20 kB / 468 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5611, allocations: 447.5 kB / 468.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005882/0.567, allocations: 4.398 MB / 472.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.5679, allocations: 291.3 kB / 473.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.5682, allocations: 137.6 kB / 473.3 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.5685, allocations: 170.5 kB / 473.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.5686, allocations: 38.94 kB / 473.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.296e-06/0.5686, allocations: 4 kB / 473.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.004569/0.5731, allocations: 1.578 MB / 475.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5732, allocations: 59.95 kB / 475.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.5741, allocations: 467.4 kB / 475.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.5742, allocations: 37.7 kB / 475.6 MB, free: 3.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.5746, allocations: 0.4892 MB / 476.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.5749, allocations: 212.9 kB / 476.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.5749, allocations: 20 kB / 476.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5751, allocations: 342.7 kB / 476.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.5755, allocations: 146 kB / 476.8 MB, free: 2.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.5762, allocations: 443.3 kB / 477.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.5768, allocations: 229.6 kB / 477.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.5768, allocations: 0 / 477.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001686/0.5785, allocations: 0.6723 MB / 478.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.5786, allocations: 15.38 kB / 478.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5786, allocations: 15.94 kB / 478.2 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.5789, allocations: 48.84 kB / 478.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5801, allocations: 179.7 kB / 478.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.5819, allocations: 1.518 MB / 479.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.5827, allocations: 31.98 kB / 479.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.5828, allocations: 40.06 kB / 480 MB, free: 15.19 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.583, allocations: 160.6 kB / 480.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5832, allocations: 71.16 kB / 480.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.5835, allocations: 75.12 kB / 480.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5835, allocations: 7.984 kB / 480.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.5835, allocations: 7.953 kB / 480.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5835, allocations: 3.984 kB / 480.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.587, allocations: 1.392 MB / 481.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.587, allocations: 0 / 481.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5881, allocations: 123.8 kB / 481.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.5883, allocations: 25.2 kB / 481.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.5884, allocations: 19.95 kB / 481.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.5896, allocations: 1.268 MB / 483.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.5897, allocations: 7.938 kB / 483.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.5915, allocations: 0.8758 MB / 484 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.5918, allocations: 132.3 kB / 484.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5919, allocations: 23.94 kB / 484.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.5923, allocations: 16 kB / 484.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5925, allocations: 39.98 kB / 484.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.5925, allocations: 16 kB / 484.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006804/0.5932, allocations: 351.2 kB / 484.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5933, allocations: 0 / 484.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001108/0.5944, allocations: 144 kB / 484.7 MB, free: 10.07 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.5947, allocations: 123.1 kB / 484.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.5961, allocations: 0.5679 MB / 485.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5962, allocations: 3.938 kB / 485.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.5968, allocations: 291.8 kB / 485.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.5976, allocations: 91.34 kB / 485.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.6016, allocations: 1.573 MB / 487.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.6024, allocations: 0.9851 MB / 488.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.6027, allocations: 67.42 kB / 488.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6028, allocations: 0 / 488.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of Templates: time 0.02556/0.6283, allocations: 11.67 MB / 0.4884 GB, free: 10.56 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches