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.001364/0.001364, allocations: 107.3 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.00145/0.00145, 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.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2769, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003777/0.2808, allocations: 2.424 MB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2818, allocations: 0.5765 MB / 403.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2819, allocations: 7.938 kB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2821, allocations: 39.64 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2823, allocations: 67.34 kB / 403.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2825, allocations: 59.92 kB / 403.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.2828, allocations: 254.8 kB / 403.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2831, allocations: 93.34 kB / 403.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2832, allocations: 103.6 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2834, allocations: 103.5 kB / 403.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.2834, allocations: 24 kB / 404 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.2835, allocations: 20 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.2835, allocations: 43.83 kB / 404 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2837, allocations: 127.3 kB / 404.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.284, allocations: 258 kB / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.284, allocations: 0 / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.284, allocations: 0 / 404.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.284, allocations: 0 / 404.4 MB, free: 4.637 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.0008196/0.2848, allocations: 0.5222 MB / 404.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2849, allocations: 8.031 kB / 404.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.2849, allocations: 54.73 kB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.285, allocations: 32.73 kB / 405 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2853, allocations: 237.3 kB / 405.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2853, allocations: 12.81 kB / 405.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2854, allocations: 32.31 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.2858, allocations: 221.1 kB / 405.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2858, allocations: 0 / 405.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2858, allocations: 12 kB / 405.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.2859, allocations: 4 kB / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.2862, allocations: 153.5 kB / 405.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2873, allocations: 0.7794 MB / 406.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.2878, allocations: 205 kB / 406.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.288, allocations: 101.7 kB / 406.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.288, allocations: 4.188 kB / 406.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2881, allocations: 38.5 kB / 406.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.2881, allocations: 4 kB / 406.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001475/0.2895, allocations: 0.8615 MB / 407.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2896, allocations: 81.11 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2898, allocations: 178.3 kB / 407.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2898, allocations: 41.58 kB / 408 MB, free: 0.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.2899, allocations: 140.5 kB / 408.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.29, allocations: 103.2 kB / 408.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.2901, allocations: 53.69 kB / 408.2 MB, free: 460 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2902, allocations: 330.8 kB / 408.6 MB, free: 120 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2904, allocations: 63.97 kB / 408.6 MB, free: 56 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.2906, allocations: 112.8 kB / 408.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.2909, allocations: 180.5 kB / 408.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2909, 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.0004309/0.2913, allocations: 255.9 kB / 409.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.2914, allocations: 4 kB / 409.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.2914, allocations: 3.938 kB / 409.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2914, allocations: 4 kB / 409.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.2916, allocations: 67.89 kB / 409.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2917, allocations: 4 kB / 409.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2918, allocations: 11.95 kB / 409.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2918, allocations: 12.09 kB / 409.3 MB, free: 15.38 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.0001156/0.2919, allocations: 141.7 kB / 409.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.292, allocations: 23.89 kB / 409.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.292, allocations: 25.88 kB / 409.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.292, allocations: 3.984 kB / 409.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2921, allocations: 4 kB / 409.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2921, allocations: 3.984 kB / 409.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.2929, allocations: 0.5787 MB / 410.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2929, allocations: 4 kB / 410.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2932, allocations: 55.91 kB / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2932, allocations: 0 / 410.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.2932, allocations: 11.98 kB / 410.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.2932, allocations: 7.938 kB / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2932, allocations: 0 / 410.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/0.2939, allocations: 493.1 kB / 410.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.294, allocations: 100.9 kB / 410.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.294, allocations: 12 kB / 410.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2942, allocations: 15.97 kB / 410.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.2942, allocations: 19.92 kB / 410.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2942, allocations: 11.98 kB / 410.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2944, allocations: 132.3 kB / 410.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2944, allocations: 0 / 410.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.2947, allocations: 48 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.001006/0.2957, allocations: 1.038 MB / 412 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.2961, allocations: 175.5 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2961, allocations: 0 / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.2963, allocations: 95.84 kB / 412.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.2968, allocations: 40.3 kB / 412.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.2999, allocations: 2.64 MB / 414.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3003, allocations: 0.7479 MB / 415.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3005, allocations: 29.92 kB / 415.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3006, allocations: 67.42 kB / 415.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3006, allocations: 0 / 415.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3304, allocations: 4.396 MB / 420.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.906, allocations: 18.92 kB / 420.2 MB, free: 4.27 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