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.0007879/0.0007879, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003679/0.003679, allocations: 163.8 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.808/0.808, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 298.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006e-05/1.143e-05, allocations: 6.219 kB / 298.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002169/0.002181, allocations: 2.275 MB / 300.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.003115, allocations: 0.5968 MB / 301.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.003212, allocations: 8 kB / 301.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003324, allocations: 35.53 kB / 301.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/0.003422, allocations: 67.36 kB / 301.4 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.003642, allocations: 59.91 kB / 301.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.003861, allocations: 270.7 kB / 301.7 MB, free: 296 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004004, allocations: 69.69 kB / 301.8 MB, free: 232 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.004144, allocations: 143.7 kB / 301.9 MB, free: 88 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.004246, allocations: 83.7 kB / 302 MB, free: 4 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1112/0.1154, allocations: 19.2 kB / 302 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1155, allocations: 20.59 kB / 302.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.1155, allocations: 43.73 kB / 302.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1156, allocations: 81.69 kB / 302.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1159, allocations: 258.5 kB / 302.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1159, allocations: 1.188 kB / 302.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1159, allocations: 1.656 kB / 302.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1159, allocations: 0 / 302.4 MB, free: 13.36 MB / 282.7 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.000482/0.1164, allocations: 455.2 kB / 302.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1164, allocations: 18.42 kB / 302.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.1164, allocations: 55.39 kB / 302.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1165, allocations: 26.55 kB / 303 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1167, allocations: 178.8 kB / 303.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1167, allocations: 19 kB / 303.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1167, allocations: 23.03 kB / 303.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.117, allocations: 218.2 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.117, allocations: 4.406 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.117, allocations: 12.66 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.117, allocations: 6.219 kB / 303.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1172, allocations: 142 kB / 303.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.1179, allocations: 0.7054 MB / 304.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1182, allocations: 190.6 kB / 304.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1183, allocations: 96.38 kB / 304.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1183, allocations: 10.44 kB / 304.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.1184, allocations: 36.81 kB / 304.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.1184, allocations: 0 / 304.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009588/0.1193, allocations: 0.7095 MB / 305.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.1193, allocations: 80.95 kB / 305.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.1194, allocations: 181.5 kB / 305.6 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1194, allocations: 33.52 kB / 305.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1195, allocations: 143.5 kB / 305.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1195, allocations: 96.09 kB / 305.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1196, allocations: 50.23 kB / 305.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.1196, allocations: 331.5 kB / 306.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.1197, allocations: 67.7 kB / 306.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.1198, allocations: 105 kB / 306.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.12, allocations: 190 kB / 306.6 MB, free: 11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.12, allocations: 0 / 306.6 MB, free: 11 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002544/0.1203, allocations: 244.2 kB / 306.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1203, allocations: 9.062 kB / 306.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1203, allocations: 1.781 kB / 306.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1203, allocations: 6.5 kB / 306.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1204, allocations: 62.62 kB / 306.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1204, allocations: 7.953 kB / 306.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.1205, allocations: 14.47 kB / 306.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1205, allocations: 6.953 kB / 306.9 MB, free: 10.88 MB / 282.7 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 6.557e-05/0.1206, allocations: 141 kB / 307 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1206, allocations: 25.92 kB / 307.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.1207, allocations: 28.55 kB / 307.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1207, allocations: 3.594 kB / 307.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1207, allocations: 5.125 kB / 307.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1207, allocations: 1.078 kB / 307.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.1211, allocations: 0.5241 MB / 307.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1211, allocations: 4.344 kB / 307.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1213, allocations: 60.89 kB / 307.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1213, allocations: 1.781 kB / 307.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1213, allocations: 8.328 kB / 307.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1213, allocations: 5.031 kB / 307.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1213, allocations: 6.953 kB / 307.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1217, allocations: 491.3 kB / 308.2 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.1217, allocations: 17.72 kB / 308.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1217, allocations: 7 kB / 308.2 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1218, allocations: 10.73 kB / 308.2 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1219, allocations: 27.06 kB / 308.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1219, allocations: 6.297 kB / 308.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.559e-05/0.1219, allocations: 131.5 kB / 308.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1219, allocations: 4 kB / 308.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.1222, allocations: 50.88 kB / 308.4 MB, free: 9.859 MB / 282.7 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.0004539/0.1226, allocations: 1.018 MB / 309.5 MB, free: 9.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.1229, allocations: 170.8 kB / 309.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1229, allocations: 5.031 kB / 309.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.123, allocations: 92 kB / 309.7 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1233, allocations: 41.64 kB / 309.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1251, allocations: 2.554 MB / 312.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.837e-05/0.1252, allocations: 135 kB / 312.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.613e-05/0.1253, allocations: 25.48 kB / 312.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.1254, allocations: 71.59 kB / 312.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1254, allocations: 0 / 312.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.1443, allocations: 5.208 MB / 317.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/6.952, allocations: 16.98 kB / 317.8 MB, free: 5.488 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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: 8.403575805947185]