Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 103.9 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 206.5 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 58.78 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003941/0.1356, allocations: 1.552 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1369, allocations: 0.5337 MB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1371, allocations: 4 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.106e-05/0.1372, allocations: 3.938 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1374, allocations: 11.88 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1378, allocations: 51.81 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1379, allocations: 43.84 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1381, allocations: 15.98 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.1382, allocations: 27.92 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.1383, allocations: 19.86 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1383, allocations: 3.938 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.1384, allocations: 8 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.1385, allocations: 15.97 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.1385, allocations: 19.81 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1387, allocations: 55.75 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1387, allocations: 3.938 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1387, allocations: 0 / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1388, allocations: 0 / 360 MB, free: 11.61 MB / 302.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.0006127/0.1394, allocations: 379.3 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.1394, allocations: 8.031 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1395, allocations: 34.73 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.1397, allocations: 16.84 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.14, allocations: 184.3 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1401, allocations: 384 / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1401, allocations: 4.375 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1404, allocations: 101.2 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1404, allocations: 0 / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1404, allocations: 3.984 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1405, allocations: 3.984 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.1406, allocations: 23.92 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1409, allocations: 261.7 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.141, allocations: 49.14 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1411, allocations: 17.78 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1411, allocations: 0 / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1412, allocations: 42.55 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.1412, allocations: 0 / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002896/0.1415, allocations: 57.62 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.1416, allocations: 85.09 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1418, allocations: 140.6 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1418, allocations: 25.7 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1419, allocations: 96.23 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.142, allocations: 11.92 kB / 361.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.142, allocations: 13.72 kB / 361.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1422, allocations: 318.8 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.1423, allocations: 11.92 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.1423, allocations: 21.73 kB / 361.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.1424, allocations: 29.77 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1424, allocations: 0 / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001294/0.1426, allocations: 61.52 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1426, allocations: 4 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1426, allocations: 0 / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1426, allocations: 0 / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.1427, allocations: 4 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1427, allocations: 8.062 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.1428, allocations: 4 kB / 361.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1428, allocations: 3.984 kB / 361.9 MB, free: 9.352 MB / 302.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 0.0001169/0.1429, allocations: 121.7 kB / 362.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.143, allocations: 45.55 kB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.143, allocations: 15.81 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1431, allocations: 0 / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1431, allocations: 0 / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1431, allocations: 8.031 kB / 362.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1433, allocations: 169.6 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1433, allocations: 0 / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.1433, allocations: 4 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1434, allocations: 0 / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1434, allocations: 4 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1434, allocations: 3.984 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1434, allocations: 0 / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1436, allocations: 172.2 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.1437, allocations: 97 kB / 362.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1437, allocations: 0 / 362.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1438, allocations: 4 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.1438, allocations: 3.984 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1438, allocations: 0 / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1439, allocations: 105.7 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.144, allocations: 7.969 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1442, allocations: 8 kB / 362.7 MB, free: 8.492 MB / 302.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.0005585/0.1448, allocations: 0.682 MB / 363.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1449, allocations: 31.95 kB / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1449, allocations: 0 / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.145, allocations: 7.984 kB / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1454, allocations: 18.83 kB / 363.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.147, allocations: 1.316 MB / 364.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1474, allocations: 0.6885 MB / 365.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.1475, allocations: 4.031 kB / 365.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.1476, allocations: 19.44 kB / 365.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1476, allocations: 0 / 365.5 MB, free: 5.586 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.1706, allocations: 1.454 MB / 366.9 MB, free: 4.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.515, allocations: 7.562 kB / 366.9 MB, free: 4.219 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches