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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002574/0.002574, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3544, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003201/0.3576, allocations: 1.584 MB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3587, allocations: 0.5298 MB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3589, allocations: 4 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.394e-05/0.3589, allocations: 3.938 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.3591, allocations: 7.875 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3596, allocations: 63.8 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3597, allocations: 39.86 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3599, allocations: 15.98 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.36, allocations: 39.84 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.3601, allocations: 19.86 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3601, allocations: 4 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.313e-05/0.3602, allocations: 4 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.3603, allocations: 19.92 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.621e-05/0.3603, allocations: 27.81 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3605, allocations: 54.75 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3606, allocations: 3.938 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3606, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3606, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 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.0006257/0.3612, allocations: 379 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3613, allocations: 12.03 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.3613, allocations: 42.67 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3615, allocations: 20.89 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.3619, allocations: 202.4 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3619, allocations: 384 / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3619, allocations: 4.375 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.3623, allocations: 125.1 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3623, allocations: 0 / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3623, allocations: 0 / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3623, allocations: 4 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.3624, allocations: 23.92 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3628, allocations: 261.8 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3631, allocations: 138.2 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.3632, allocations: 37.77 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3632, allocations: 0 / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.3633, allocations: 34.56 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3633, allocations: 0 / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003022/0.3636, allocations: 81.55 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.3637, allocations: 85.11 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3638, allocations: 138.1 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3638, allocations: 25.7 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3639, allocations: 92.12 kB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3639, allocations: 4.078 kB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.364, allocations: 21.72 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3641, allocations: 330.7 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.3642, allocations: 4 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.3642, allocations: 35.42 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.3643, allocations: 47.36 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3643, allocations: 0 / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/0.3645, allocations: 69.84 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3645, allocations: 8 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3645, allocations: 4.125 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3645, allocations: 3.938 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.3646, allocations: 8 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3646, allocations: 7.922 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.3647, allocations: 11.98 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3647, allocations: 4 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.98e-05/0.3648, allocations: 117.8 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.3649, allocations: 49.64 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.3649, allocations: 12.25 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3649, allocations: 8 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.365, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.365, allocations: 3.984 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3652, allocations: 173.6 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3652, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.3652, allocations: 8 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3653, allocations: 3.938 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3653, allocations: 3.984 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3653, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3653, allocations: 4 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.3655, allocations: 172.3 kB / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.3656, allocations: 93.05 kB / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3656, allocations: 0 / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.3657, allocations: 4 kB / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3657, allocations: 0 / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3657, allocations: 0 / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.3658, allocations: 118 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3658, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3661, allocations: 8 kB / 414.2 MB, free: 11.7 MB / 334.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 (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.000527/0.3666, allocations: 0.7053 MB / 414.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3668, allocations: 43.84 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3668, allocations: 0 / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.3669, allocations: 4 kB / 414.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3673, allocations: 27.95 kB / 414.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3689, allocations: 1.359 MB / 416.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3692, allocations: 0.6924 MB / 417 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.3692, allocations: 8.266 kB / 417 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.3693, allocations: 19.42 kB / 417 MB, free: 8.688 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3693, allocations: 0 / 417 MB, free: 8.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3918, allocations: 1.583 MB / 418.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.775, allocations: 13.53 kB / 418.6 MB, free: 7.191 MB / 334.1 MB (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 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches