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/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_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_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.001501/0.001501, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008773/0.0008771, allocations: 90.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.000276, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3295, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.4341, allocations: 81.95 MB / 457.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4344, allocations: 71.97 kB / 457.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.4704, allocations: 14.44 MB / 472.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4704, allocations: 4 kB / 472.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.042e-05/0.4705, allocations: 27.98 kB / 472.3 MB, free: 15.9 MB / 362.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.001575/0.4721, allocations: 0.9702 MB / 473.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4721, allocations: 16.03 kB / 473.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.4723, allocations: 98.78 kB / 473.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008356/0.4732, allocations: 0.5199 MB / 473.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.4732, allocations: 57.95 kB / 474 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4734, allocations: 84 kB / 474 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.4747, allocations: 0.8368 MB / 474.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.4747, allocations: 11.84 kB / 474.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.4748, allocations: 36 kB / 474.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.4748, allocations: 20 kB / 475 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.4757, allocations: 471.3 kB / 475.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.4797, allocations: 4.405 MB / 479.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.4803, allocations: 303.3 kB / 480.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.4805, allocations: 170.6 kB / 480.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4805, allocations: 42.89 kB / 480.3 MB, free: 7.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.615e-06/0.4805, allocations: 3.938 kB / 480.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003292/0.4838, allocations: 1.736 MB / 482.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4839, allocations: 55.97 kB / 482.1 MB, free: 5.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.4846, allocations: 471.3 kB / 482.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.4846, allocations: 37.7 kB / 482.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.485, allocations: 486.3 kB / 483.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.4852, allocations: 205.1 kB / 483.3 MB, free: 4.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.4852, allocations: 12 kB / 483.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4855, allocations: 378.8 kB / 483.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4858, allocations: 165.9 kB / 483.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.4863, allocations: 451.2 kB / 484.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.4867, allocations: 232.7 kB / 484.5 MB, free: 2.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4867, allocations: 4 kB / 484.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001136/0.4878, allocations: 0.7379 MB / 485.2 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4878, allocations: 12 kB / 485.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4879, allocations: 8 kB / 485.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.488, allocations: 48.84 kB / 485.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.4886, allocations: 188.3 kB / 485.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.49, allocations: 1.526 MB / 487 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.4904, allocations: 28.06 kB / 487 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.4904, allocations: 47.92 kB / 487.1 MB, free: 248 kB / 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 () * 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 (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.0003676/0.4908, allocations: 229.5 kB / 487.3 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4909, allocations: 71.23 kB / 487.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.4911, allocations: 79.06 kB / 487.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4911, allocations: 8 kB / 487.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4911, allocations: 0 / 487.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4911, allocations: 3.781 kB / 487.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.4931, allocations: 1.408 MB / 488.9 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.4931, allocations: 12.05 kB / 488.9 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.4936, allocations: 115.8 kB / 489 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-05/0.4937, allocations: 28.91 kB / 489 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.4938, allocations: 19.95 kB / 489.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009002/0.4947, allocations: 1.276 MB / 490.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4947, allocations: 4 kB / 490.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.4958, allocations: 0.9083 MB / 491.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.496, allocations: 136.3 kB / 491.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.496, allocations: 27.88 kB / 491.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4963, allocations: 12 kB / 491.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.4963, allocations: 43.95 kB / 491.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.4964, allocations: 12 kB / 491.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004279/0.4968, allocations: 359.1 kB / 491.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4968, allocations: 0 / 491.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007002/0.4975, allocations: 140 kB / 492 MB, free: 10.98 MB / 378.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 (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.0001735/0.4977, allocations: 119.1 kB / 492.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009617/0.4987, allocations: 0.5883 MB / 492.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4987, allocations: 0 / 492.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.4991, allocations: 314.3 kB / 493 MB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.4996, allocations: 91.53 kB / 493.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.5026, allocations: 2.283 MB / 495.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.5032, allocations: 0.9928 MB / 496.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000315/0.5035, allocations: 81.92 kB / 496.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5037, allocations: 59.42 kB / 496.5 MB, free: 6.352 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5037, allocations: 192 / 496.5 MB, free: 6.352 MB / 378.7 MB Notification: Performance of Templates: time 0.01044/0.5141, allocations: 4.864 MB / 0.4896 GB, free: 1.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches