Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 55.91 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2998, allocations: 49.17 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003255/0.303, allocations: 2.422 MB / 398.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.3039, allocations: 0.6363 MB / 399.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.304, allocations: 8.5 kB / 399.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3041, allocations: 33.73 kB / 399.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3042, allocations: 71.77 kB / 399.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.3045, allocations: 54.45 kB / 399.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.3047, allocations: 265.8 kB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3049, allocations: 73.39 kB / 399.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.305, allocations: 103.8 kB / 400 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3052, allocations: 108.1 kB / 400.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.3052, allocations: 20.44 kB / 400.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.3053, allocations: 20.5 kB / 400.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.3053, allocations: 42.11 kB / 400.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.3054, allocations: 121.9 kB / 400.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3057, allocations: 256.7 kB / 400.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3057, allocations: 0.75 kB / 400.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3057, allocations: 9.031 kB / 400.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3057, allocations: 0 / 400.6 MB, free: 6.266 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.0006591/0.3064, allocations: 453.6 kB / 401 MB, free: 5.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3064, allocations: 14.3 kB / 401 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.3065, allocations: 54.53 kB / 401.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.3065, allocations: 29.19 kB / 401.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3068, allocations: 183.1 kB / 401.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3068, allocations: 17.56 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.3068, allocations: 22.42 kB / 401.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.3072, allocations: 215.8 kB / 401.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3073, allocations: 5.453 kB / 401.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3073, allocations: 9.938 kB / 401.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3073, allocations: 5.406 kB / 401.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.3076, allocations: 150 kB / 401.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3088, allocations: 0.739 MB / 402.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3092, allocations: 189.8 kB / 402.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3094, allocations: 93.5 kB / 402.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3094, allocations: 3.25 kB / 402.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3094, allocations: 44.62 kB / 402.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3094, allocations: 0 / 402.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001499/0.3109, allocations: 0.7066 MB / 403.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.311, allocations: 83.77 kB / 403.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3111, allocations: 182.7 kB / 403.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3111, allocations: 26.77 kB / 403.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.3112, allocations: 151.6 kB / 403.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.3113, allocations: 92.48 kB / 404 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.3113, allocations: 46.77 kB / 404 MB, free: 3.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.3114, allocations: 332.3 kB / 404.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3116, allocations: 66.02 kB / 404.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3117, allocations: 105.1 kB / 404.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.312, allocations: 190 kB / 404.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.312, allocations: 3.938 kB / 404.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003766/0.3124, allocations: 250.6 kB / 405 MB, free: 3.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3124, allocations: 5.75 kB / 405 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3124, allocations: 9.078 kB / 405 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3124, allocations: 4 kB / 405 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3127, allocations: 67.97 kB / 405 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.3127, allocations: 2.094 kB / 405 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3128, allocations: 11.77 kB / 405.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3128, allocations: 10.16 kB / 405.1 MB, free: 3.113 MB / 318.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 8.705e-05/0.3129, allocations: 141.3 kB / 405.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.3129, allocations: 22.84 kB / 405.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.313, allocations: 32.16 kB / 405.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.313, allocations: 2.969 kB / 405.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.313, allocations: 4.656 kB / 405.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.313, allocations: 2.875 kB / 405.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.3138, allocations: 0.5478 MB / 405.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3138, allocations: 1.156 kB / 405.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.314, allocations: 60.86 kB / 405.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.314, allocations: 6.25 kB / 405.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.314, allocations: 10.58 kB / 405.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.314, allocations: 6.094 kB / 405.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.314, allocations: 1.156 kB / 405.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.3146, allocations: 0.4914 MB / 406.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.3147, allocations: 15.78 kB / 406.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3147, allocations: 7.203 kB / 406.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3149, allocations: 13.75 kB / 406.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.3149, allocations: 20.14 kB / 406.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.315, allocations: 10.8 kB / 406.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.971e-05/0.3151, allocations: 135.2 kB / 406.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3151, allocations: 0 / 406.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.3154, allocations: 47.28 kB / 406.6 MB, free: 2.039 MB / 318.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.0008181/0.3162, allocations: 1.034 MB / 407.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.3166, allocations: 172.9 kB / 407.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3166, allocations: 0 / 407.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3168, allocations: 100.8 kB / 407.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3173, allocations: 40.95 kB / 408 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3203, allocations: 2.64 MB / 410.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3207, allocations: 0.7453 MB / 411.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3209, allocations: 26.52 kB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.321, allocations: 70.78 kB / 411.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.321, allocations: 0 / 411.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.357, allocations: 4.683 MB / 416.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 13.2 kB / 416.2 MB, free: 12.33 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.142208583187312]