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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 109.2 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009265/0.0009265, allocations: 47.92 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3072, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005651/0.3129, allocations: 4.576 MB / 405.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.3157, allocations: 1.333 MB / 406.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.3164, allocations: 23.81 kB / 406.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.3169, allocations: 178.2 kB / 406.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.3176, allocations: 166.3 kB / 407 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009777/0.3186, allocations: 363.5 kB / 407.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.3201, allocations: 0.9743 MB / 408.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.3207, allocations: 414.9 kB / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.3212, allocations: 334.5 kB / 409 MB, free: 500 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.3217, allocations: 342 kB / 409.4 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.3218, allocations: 72 kB / 409.5 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.3221, allocations: 116 kB / 409.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3223, allocations: 175.2 kB / 409.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.3227, allocations: 429.5 kB / 410.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3239, allocations: 1.1 MB / 411.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3239, allocations: 0 / 411.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3239, allocations: 0 / 411.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.928e-05/0.3239, allocations: 0 / 411.3 MB, free: 14.27 MB / 334.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.00188/0.3258, allocations: 1.172 MB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3259, allocations: 8.031 kB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.3261, allocations: 115.2 kB / 412.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/0.327, allocations: 0.6389 MB / 413.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.3271, allocations: 58 kB / 413.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3272, allocations: 83.95 kB / 413.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3285, allocations: 0.8481 MB / 414.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.3286, allocations: 11.89 kB / 414.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.3286, allocations: 32 kB / 414.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3286, allocations: 24 kB / 414.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.3296, allocations: 471.3 kB / 414.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.3333, allocations: 4.385 MB / 419.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.3339, allocations: 304.2 kB / 419.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3342, allocations: 137.6 kB / 419.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.3344, allocations: 174.6 kB / 419.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3344, allocations: 30.94 kB / 419.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.194e-06/0.3344, allocations: 4 kB / 419.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003286/0.3377, allocations: 1.747 MB / 421.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3378, allocations: 59.95 kB / 421.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.3384, allocations: 0.5431 MB / 422.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3385, allocations: 37.64 kB / 422.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.3388, allocations: 491.7 kB / 422.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.339, allocations: 226.1 kB / 422.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3392, allocations: 138.6 kB / 422.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3393, allocations: 382.8 kB / 423.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.3396, allocations: 161.9 kB / 423.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.3401, allocations: 463.2 kB / 423.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000781/0.3409, allocations: 0.6673 MB / 424.6 MB, free: 76 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3409, allocations: 4 kB / 424.6 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001151/0.342, allocations: 0.7385 MB / 425.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3421, allocations: 8 kB / 425.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3421, allocations: 12 kB / 425.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.3422, allocations: 48.78 kB / 425.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.3428, allocations: 183.7 kB / 425.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.344, allocations: 1.689 MB / 427.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.3444, allocations: 24 kB / 427.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.3444, allocations: 48 kB / 427.3 MB, free: 13.17 MB / 350.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.0002553/0.3447, allocations: 227.2 kB / 427.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.3448, allocations: 79.47 kB / 427.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3449, allocations: 79.06 kB / 427.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3449, allocations: 8 kB / 427.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3449, allocations: 0 / 427.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3449, allocations: 0 / 427.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.3467, allocations: 1.425 MB / 429.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3467, allocations: 4 kB / 429.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.3472, allocations: 115.8 kB / 429.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.288e-05/0.3473, allocations: 24.84 kB / 429.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.3473, allocations: 16 kB / 429.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/0.3481, allocations: 1.371 MB / 430.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3481, allocations: 4.156 kB / 430.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.3491, allocations: 0.7817 MB / 431.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3492, allocations: 144.6 kB / 431.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.3492, allocations: 16 kB / 431.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3495, allocations: 19.98 kB / 431.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.3495, allocations: 39.89 kB / 431.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3496, allocations: 16 kB / 431.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.3499, allocations: 363.1 kB / 432.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.644e-06/0.3499, allocations: 96 / 432.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00058/0.3505, allocations: 143.9 kB / 432.2 MB, free: 7.988 MB / 350.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.0001242/0.3507, allocations: 127.1 kB / 432.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008835/0.3516, allocations: 0.5843 MB / 432.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3516, allocations: 0 / 432.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.352, allocations: 319.5 kB / 433.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.3526, allocations: 98.89 kB / 433.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.3551, allocations: 1.872 MB / 435.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.3556, allocations: 0.9652 MB / 436.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.3558, allocations: 85.92 kB / 436.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.356, allocations: 59.42 kB / 436.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.356, allocations: 0 / 436.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of Templates: time 0.01062/0.3666, allocations: 5.452 MB / 441.7 MB, free: 14.33 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile (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) 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) Reference file matches