Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 111.1 kB / 17.06 MB, free: 5.977 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.001095/0.001095, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 47.92 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2698, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003758/0.2736, allocations: 2.427 MB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2747, allocations: 0.5804 MB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.2749, allocations: 7.938 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.2751, allocations: 35.66 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.2754, allocations: 67.36 kB / 403.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.2757, allocations: 63.84 kB / 403.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.276, allocations: 258.9 kB / 403.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2762, allocations: 93.33 kB / 403.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2764, allocations: 103.6 kB / 403.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2765, allocations: 111.5 kB / 403.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.2766, allocations: 20 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.2766, allocations: 20 kB / 404 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.2767, allocations: 39.84 kB / 404 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2768, allocations: 123.4 kB / 404.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.2771, allocations: 252.8 kB / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2771, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2771, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2771, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007344/0.2778, allocations: 0.5184 MB / 404.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2779, allocations: 12.03 kB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.2779, allocations: 58.72 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.278, allocations: 24.66 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2783, allocations: 241.2 kB / 405.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2783, allocations: 12.81 kB / 405.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2784, allocations: 24.38 kB / 405.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.2788, allocations: 217.1 kB / 405.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2788, allocations: 4 kB / 405.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2788, allocations: 12 kB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2788, allocations: 4 kB / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2791, allocations: 151.8 kB / 405.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.2803, allocations: 0.7831 MB / 406.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.2807, allocations: 207 kB / 406.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.2809, allocations: 101.7 kB / 406.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2809, allocations: 4.188 kB / 406.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.281, allocations: 46.44 kB / 406.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.281, allocations: 0 / 406.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001477/0.2824, allocations: 0.8633 MB / 407.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2825, allocations: 81.05 kB / 407.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2827, allocations: 182.3 kB / 407.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2827, allocations: 29.7 kB / 407.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.2828, allocations: 136.4 kB / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.2828, allocations: 94.64 kB / 408.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.2829, allocations: 57.69 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.283, allocations: 330.8 kB / 408.5 MB, free: 128 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.2832, allocations: 63.97 kB / 408.6 MB, free: 64 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2833, allocations: 109.4 kB / 408.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.2837, allocations: 192.3 kB / 408.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2837, allocations: 3.938 kB / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004179/0.2841, allocations: 245.2 kB / 409.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2841, allocations: 4 kB / 409.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2841, allocations: 8.094 kB / 409.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2842, allocations: 0 / 409.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2844, allocations: 63.91 kB / 409.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2844, allocations: 4 kB / 409.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2846, allocations: 11.91 kB / 409.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2846, allocations: 11.98 kB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.2847, allocations: 141.7 kB / 409.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.2848, allocations: 19.81 kB / 409.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.2848, allocations: 29.88 kB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2848, allocations: 4 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2849, allocations: 0 / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2849, allocations: 3.984 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.2856, allocations: 0.5786 MB / 410 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.2857, allocations: 8.094 kB / 410 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.2859, allocations: 63.89 kB / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.286, allocations: 0 / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.286, allocations: 8 kB / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.286, allocations: 11.88 kB / 410.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.286, allocations: 3.938 kB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.2866, allocations: 492.9 kB / 410.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2866, allocations: 92.83 kB / 410.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2867, allocations: 12.03 kB / 410.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2869, allocations: 11.94 kB / 410.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.2869, allocations: 23.97 kB / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2869, allocations: 8 kB / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.287, allocations: 136.2 kB / 410.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2871, allocations: 0 / 410.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.2874, allocations: 52 kB / 410.9 MB, free: 13.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008346/0.2882, allocations: 1.026 MB / 411.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2886, allocations: 182.5 kB / 412.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.2886, allocations: 4 kB / 412.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.2888, allocations: 91.84 kB / 412.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.2893, allocations: 40.16 kB / 412.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.2923, allocations: 2.644 MB / 414.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2926, allocations: 0.7518 MB / 415.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.227e-05/0.2927, allocations: 17.95 kB / 415.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2928, allocations: 67.41 kB / 415.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2928, allocations: 0 / 415.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.3147, allocations: 4.449 MB / 420.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.821, allocations: 11.98 kB / 420.2 MB, free: 4.227 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches