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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09712, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003895/0.101, allocations: 2.433 MB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1021, allocations: 0.5882 MB / 420.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1022, allocations: 7.938 kB / 420.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1024, allocations: 35.64 kB / 420.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1025, allocations: 67.36 kB / 420.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1028, allocations: 59.92 kB / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1031, allocations: 262.8 kB / 421.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1033, allocations: 73.34 kB / 421.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1034, allocations: 95.72 kB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1036, allocations: 111.4 kB / 421.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1036, allocations: 20 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.1037, allocations: 20 kB / 421.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.1037, allocations: 51.83 kB / 421.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1038, allocations: 115.4 kB / 421.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1041, allocations: 251 kB / 421.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1041, allocations: 0 / 421.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1041, allocations: 0 / 421.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1041, allocations: 0 / 421.9 MB, free: 8.422 MB / 350.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.0008374/0.105, allocations: 0.5299 MB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.105, allocations: 8.031 kB / 422.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1051, allocations: 62.66 kB / 422.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.1051, allocations: 28.75 kB / 422.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1055, allocations: 237.4 kB / 422.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1055, allocations: 16.81 kB / 422.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1055, allocations: 24.33 kB / 422.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.106, allocations: 221.1 kB / 423 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.106, allocations: 0 / 423 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.106, allocations: 4 kB / 423.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.106, allocations: 8 kB / 423.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.1063, allocations: 151.8 kB / 423.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1075, allocations: 0.7833 MB / 424 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.1079, allocations: 185 kB / 424.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.1082, allocations: 93.67 kB / 424.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1082, allocations: 8.125 kB / 424.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1082, allocations: 38.5 kB / 424.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1082, allocations: 4 kB / 424.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00167/0.1099, allocations: 0.8629 MB / 425.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.1099, allocations: 89.05 kB / 425.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1101, allocations: 178.3 kB / 425.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1101, allocations: 29.7 kB / 425.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.1102, allocations: 140.5 kB / 425.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.514e-05/0.1103, allocations: 99.09 kB / 425.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.1104, allocations: 49.7 kB / 425.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1106, allocations: 334.8 kB / 426.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1107, allocations: 63.95 kB / 426.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.1109, allocations: 116.8 kB / 426.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.1113, allocations: 190.5 kB / 426.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1113, allocations: 3.938 kB / 426.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004509/0.1117, allocations: 247.5 kB / 426.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1117, allocations: 8 kB / 426.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1117, allocations: 0 / 426.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1118, allocations: 4 kB / 426.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.112, allocations: 63.91 kB / 426.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.112, allocations: 96 / 426.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1122, allocations: 19.95 kB / 426.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1122, allocations: 11.92 kB / 426.8 MB, free: 3.176 MB / 350.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.000136/0.1123, allocations: 142.4 kB / 426.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.1124, allocations: 15.91 kB / 426.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.1124, allocations: 29.88 kB / 427 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1124, allocations: 4 kB / 427 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1125, allocations: 0 / 427 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1125, allocations: 7.984 kB / 427 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/0.1133, allocations: 0.5826 MB / 427.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1133, allocations: 0 / 427.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.1136, allocations: 59.89 kB / 427.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1136, allocations: 4 kB / 427.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1136, allocations: 8 kB / 427.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.1137, allocations: 8.031 kB / 427.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1137, allocations: 4 kB / 427.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.1143, allocations: 497 kB / 428.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.1144, allocations: 100.9 kB / 428.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1144, allocations: 8.031 kB / 428.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1146, allocations: 15.94 kB / 428.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1147, allocations: 19.97 kB / 428.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1147, allocations: 4 kB / 428.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1148, allocations: 136.2 kB / 428.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1148, allocations: 0 / 428.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.1151, allocations: 56 kB / 428.5 MB, free: 1.375 MB / 350.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.001017/0.1162, allocations: 1.034 MB / 429.5 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.1166, allocations: 167.8 kB / 429.7 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1166, allocations: 4 kB / 429.7 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1168, allocations: 86.61 kB / 429.8 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.1172, allocations: 46.16 kB / 429.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.1206, allocations: 2.636 MB / 432.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.121, allocations: 0.7518 MB / 433.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1211, allocations: 25.94 kB / 433.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1212, allocations: 75.34 kB / 433.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1212, allocations: 0 / 433.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.1496, allocations: 4.413 MB / 437.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.249, allocations: 29.58 kB / 437.7 MB, free: 8.039 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.832298741675913]