Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000808/0.000808, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008057/0.0008057, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8857/0.8857, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.085e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001935/0.001956, allocations: 1.603 MB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006712/0.002627, allocations: 0.4986 MB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.002698, allocations: 4 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.00274, allocations: 7.875 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.002864, allocations: 7.938 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.003123, allocations: 59.75 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.003213, allocations: 47.78 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.003303, allocations: 11.98 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003417, allocations: 31.84 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003466, allocations: 19.97 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.00348, allocations: 0 / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-05/0.003513, allocations: 8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.003555, allocations: 15.94 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.003584, allocations: 15.92 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.003708, allocations: 59.73 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003711, allocations: 4 kB / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003713, allocations: 0 / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.003721, allocations: 0 / 326.9 MB, free: 13.49 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003532/0.004074, allocations: 298 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.00411, allocations: 15.98 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.004141, allocations: 38.73 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.004239, allocations: 20.89 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.004406, allocations: 141.5 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.004414, allocations: 384 / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.004424, allocations: 4.375 kB / 327.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.004631, allocations: 109.6 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.004637, allocations: 192 / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004647, allocations: 16.06 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004651, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.004704, allocations: 23.92 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.004936, allocations: 232.9 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.005061, allocations: 61.14 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.005102, allocations: 37.64 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.005118, allocations: 3.984 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.005134, allocations: 34.56 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005135, allocations: 4 kB / 327.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000167/0.005302, allocations: 77.56 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.005343, allocations: 85.11 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.005427, allocations: 141.2 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005435, allocations: 25.7 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.005472, allocations: 88.14 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.005483, allocations: 3.953 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.005507, allocations: 17.7 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.005578, allocations: 314.8 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.005598, allocations: 8.125 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.005615, allocations: 15.92 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.005657, allocations: 16.84 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005658, allocations: 4 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.117e-05/0.005719, allocations: 57.58 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.00573, allocations: 4 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.005734, allocations: 0 / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.005745, allocations: 4.094 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.005781, allocations: 7.984 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.005787, allocations: 3.984 kB / 328.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.005802, allocations: 4 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005807, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.467e-05/0.005862, allocations: 113.8 kB / 328.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.005906, allocations: 57.52 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.00593, allocations: 12.34 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.005934, allocations: 3.984 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.005937, allocations: 0 / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.00594, allocations: 4 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.006041, allocations: 140.7 kB / 329.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006043, allocations: 7.875 kB / 329.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.006068, allocations: 11.98 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00607, allocations: 0 / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006077, allocations: 4 kB / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006078, allocations: 0 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006079, allocations: 0 / 329.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.006184, allocations: 168.3 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.006215, allocations: 27.86 kB / 329.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006225, allocations: 4 kB / 329.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.006258, allocations: 4 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.00628, allocations: 0 / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006283, allocations: 7.922 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.642e-05/0.00633, allocations: 103.3 kB / 329.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00633, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000141/0.006471, allocations: 4 kB / 329.5 MB, free: 10.64 MB / 298.7 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 (4): * Single equations (assignments): 4 * 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.0002674/0.006738, allocations: 0.7054 MB / 330.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.947e-05/0.006818, allocations: 23.98 kB / 330.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006819, allocations: 0 / 330.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.006838, allocations: 8 kB / 330.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.00707, allocations: 20.28 kB / 330.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.00786, allocations: 1.313 MB / 331.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.278e-05/0.007913, allocations: 79.23 kB / 331.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.007937, allocations: 7.938 kB / 331.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.007972, allocations: 12.5 kB / 331.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007972, allocations: 0 / 331.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.02169, allocations: 2.224 MB / 333.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/6.601, allocations: 11.98 kB / 333.9 MB, free: 6.199 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.344506977126002]