Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001291/0.001291, allocations: 115 kB / 17.78 MB, free: 5.289 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.001337/0.001337, allocations: 189.2 kB / 20.73 MB, free: 2.352 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.582/1.582, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.92 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1352, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003744/0.1389, allocations: 1.563 MB / 419.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.1399, allocations: 478.7 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.14, allocations: 4 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.299e-05/0.14, allocations: 7.922 kB / 419.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1402, allocations: 7.875 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1405, allocations: 39.89 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1407, allocations: 39.86 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1408, allocations: 11.98 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.1409, allocations: 15.94 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.1409, allocations: 19.84 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.141, allocations: 0 / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.141, allocations: 8 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.141, allocations: 11.98 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.1411, allocations: 23.81 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1412, allocations: 47.75 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1412, allocations: 0 / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1412, allocations: 0 / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1412, allocations: 7.938 kB / 420.1 MB, free: 10.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006471/0.1419, allocations: 371.1 kB / 420.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1419, allocations: 12.03 kB / 420.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.142, allocations: 38.73 kB / 420.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.142, allocations: 8.891 kB / 420.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1423, allocations: 188.2 kB / 420.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.1423, allocations: 4.375 kB / 420.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1423, allocations: 384 / 420.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1426, allocations: 109.1 kB / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1426, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1427, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1427, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1427, allocations: 23.92 kB / 420.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.1431, allocations: 257.8 kB / 421 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1432, allocations: 53.16 kB / 421.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.1433, allocations: 17.77 kB / 421.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1433, allocations: 8 kB / 421.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1433, allocations: 30.56 kB / 421.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1433, allocations: 0 / 421.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002895/0.1436, allocations: 77.5 kB / 421.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.1437, allocations: 77.11 kB / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1438, allocations: 136 kB / 421.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1438, allocations: 25.7 kB / 421.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1439, allocations: 88.12 kB / 421.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1439, allocations: 8 kB / 421.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.144, allocations: 17.92 kB / 421.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1441, allocations: 326.7 kB / 421.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.1442, allocations: 7.984 kB / 421.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.1442, allocations: 13.72 kB / 421.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.1443, allocations: 37.7 kB / 422 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1443, allocations: 0 / 422 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.1444, allocations: 57.61 kB / 422 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1444, allocations: 8 kB / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1444, allocations: 0 / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.1445, allocations: 0 / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.1445, allocations: 4 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1445, allocations: 0 / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.1446, allocations: 7.984 kB / 422 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1446, allocations: 4.062 kB / 422 MB, free: 8.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.708e-05/0.1447, allocations: 117.8 kB / 422.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.1448, allocations: 37.66 kB / 422.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1448, allocations: 15.86 kB / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1448, allocations: 0 / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1448, allocations: 0 / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1448, allocations: 3.938 kB / 422.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.145, allocations: 181.6 kB / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.145, allocations: 0 / 422.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.145, allocations: 8.031 kB / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.145, allocations: 0 / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1451, allocations: 0 / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1451, allocations: 7.984 kB / 422.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1451, allocations: 0 / 422.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1453, allocations: 160.3 kB / 422.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.1453, allocations: 89.05 kB / 422.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1453, allocations: 4 kB / 422.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1454, allocations: 0 / 422.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1455, allocations: 7.984 kB / 422.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1455, allocations: 3.938 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.1455, allocations: 103.3 kB / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1455, allocations: 0 / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1458, allocations: 4 kB / 422.8 MB, free: 7.242 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0005829/0.1464, allocations: 0.7053 MB / 423.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1465, allocations: 23.86 kB / 423.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.1465, allocations: 4.156 kB / 423.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.1466, allocations: 15.98 kB / 423.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.147, allocations: 18.05 kB / 423.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1485, allocations: 1.312 MB / 424.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1488, allocations: 0.6883 MB / 425.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1489, allocations: 7.984 kB / 425.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.1489, allocations: 11.44 kB / 425.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1489, allocations: 0 / 425.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.1744, allocations: 1.469 MB / 427 MB, free: 2.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.611, allocations: 2.922 kB / 427 MB, free: 2.961 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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: 11.44205909781158]