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.001895/0.001895, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.002269/0.002269, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.533/1.533, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.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.00174/0.00174, allocations: 48.41 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1156, allocations: 49.13 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004105/0.1197, allocations: 2.422 MB / 393.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1208, allocations: 0.6278 MB / 394.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1209, allocations: 7.938 kB / 394.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.121, allocations: 35.64 kB / 394.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.1212, allocations: 71.36 kB / 394.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1214, allocations: 59.86 kB / 394.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1217, allocations: 254.8 kB / 394.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1219, allocations: 73.34 kB / 394.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1222, allocations: 95.7 kB / 395 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1223, allocations: 107.5 kB / 395.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1224, allocations: 20 kB / 395.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.1224, allocations: 20 kB / 395.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.1225, allocations: 55.81 kB / 395.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1226, allocations: 127.3 kB / 395.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1229, allocations: 251 kB / 395.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.123, allocations: 0 / 395.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.123, allocations: 0 / 395.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.123, allocations: 0 / 395.6 MB, free: 4.5 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.000912/0.1239, allocations: 0.5144 MB / 396.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.1239, allocations: 19.97 kB / 396.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.124, allocations: 54.73 kB / 396.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.1241, allocations: 32.75 kB / 396.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1244, allocations: 241.5 kB / 396.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1245, allocations: 16.81 kB / 396.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.1245, allocations: 16.38 kB / 396.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.125, allocations: 217.1 kB / 396.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.125, allocations: 15.95 kB / 396.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.125, allocations: 4 kB / 396.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.125, allocations: 4 kB / 396.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.1254, allocations: 147.8 kB / 396.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1267, allocations: 0.7872 MB / 397.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.1271, allocations: 189 kB / 397.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1274, allocations: 93.67 kB / 397.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1274, allocations: 4.188 kB / 397.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1274, allocations: 42.75 kB / 398 MB, free: 1.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1274, allocations: 0 / 398 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001708/0.1291, allocations: 0.8638 MB / 398.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1292, allocations: 81.11 kB / 398.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1294, allocations: 182.2 kB / 399.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1294, allocations: 25.7 kB / 399.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1295, allocations: 148.4 kB / 399.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.933e-05/0.1296, allocations: 95.17 kB / 399.4 MB, free: 408 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.1297, allocations: 49.7 kB / 399.4 MB, free: 352 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1298, allocations: 334.8 kB / 399.7 MB, free: 8 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.13, allocations: 59.97 kB / 399.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.1302, allocations: 112.2 kB / 399.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.1306, allocations: 204.3 kB / 400.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1306, allocations: 7.938 kB / 400.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004573/0.131, allocations: 241.3 kB / 400.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.131, allocations: 11.94 kB / 400.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1311, allocations: 4.094 kB / 400.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1311, allocations: 4 kB / 400.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.1314, allocations: 59.89 kB / 400.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1314, allocations: 4 kB / 400.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1315, allocations: 15.88 kB / 400.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1315, allocations: 12 kB / 400.5 MB, free: 15.25 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.0001582/0.1317, allocations: 141.7 kB / 400.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1317, allocations: 19.86 kB / 400.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.1318, allocations: 33.86 kB / 400.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1318, allocations: 4 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1318, allocations: 0 / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1318, allocations: 0 / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.1327, allocations: 0.5866 MB / 401.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1327, allocations: 4.094 kB / 401.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.133, allocations: 59.91 kB / 401.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.133, allocations: 4 kB / 401.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.133, allocations: 7.984 kB / 401.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.133, allocations: 7.938 kB / 401.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.133, allocations: 0 / 401.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.1337, allocations: 496.9 kB / 401.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.1338, allocations: 93.11 kB / 401.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1338, allocations: 7.984 kB / 401.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.134, allocations: 15.97 kB / 401.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.1341, allocations: 19.98 kB / 401.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1341, allocations: 8 kB / 401.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1342, allocations: 132.3 kB / 402.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1342, allocations: 0 / 402.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1345, allocations: 52 kB / 402.1 MB, free: 13.46 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.001038/0.1356, allocations: 1.034 MB / 403.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.136, allocations: 168 kB / 403.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.136, allocations: 4 kB / 403.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1361, allocations: 87.84 kB / 403.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.1366, allocations: 39.92 kB / 403.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1402, allocations: 2.643 MB / 406.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1406, allocations: 0.7478 MB / 406.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.1407, allocations: 25.88 kB / 406.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1409, allocations: 71.36 kB / 406.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1409, allocations: 0 / 406.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1712, allocations: 4.437 MB / 411.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.341, allocations: 448 / 411.4 MB, free: 3.965 MB / 334.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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: 10.921741839993047]