Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 60.12 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003736/0.1332, allocations: 1.614 MB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1345, allocations: 0.5687 MB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1346, allocations: 4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.1347, allocations: 11.86 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1349, allocations: 7.875 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1352, allocations: 63.8 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1354, allocations: 55.84 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1355, allocations: 23.92 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1357, allocations: 27.86 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.1357, allocations: 31.84 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1358, allocations: 4 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.1358, allocations: 4 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1359, allocations: 15.92 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.136, allocations: 31.75 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1361, allocations: 63.78 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1361, allocations: 11.94 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1361, allocations: 0 / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1362, allocations: 0 / 360.1 MB, free: 11.44 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000605/0.1368, allocations: 391.3 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1368, allocations: 8.031 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1369, allocations: 34.75 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.1371, allocations: 20.73 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1373, allocations: 208 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1373, allocations: 8.375 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1374, allocations: 11.94 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.1377, allocations: 126.7 kB / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1377, allocations: 0 / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1377, allocations: 0 / 360.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1377, allocations: 4 kB / 360.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.1378, allocations: 35.91 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1383, allocations: 295.4 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1384, allocations: 94.36 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.1385, allocations: 39.56 kB / 361.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.1386, allocations: 7.984 kB / 361.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.1386, allocations: 42.5 kB / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.1387, allocations: 0 / 361.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003602/0.139, allocations: 97.45 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.1391, allocations: 137 kB / 361.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1393, allocations: 146.4 kB / 361.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.1394, allocations: 29.7 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1394, allocations: 92.12 kB / 361.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1395, allocations: 7.906 kB / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1395, allocations: 17.72 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1397, allocations: 318.8 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.1397, allocations: 15.98 kB / 362.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.1398, allocations: 48.28 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.14, allocations: 56.22 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.14, allocations: 3.938 kB / 362.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.1402, allocations: 85.64 kB / 362.5 MB, free: 8.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1402, allocations: 4 kB / 362.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1402, allocations: 8 kB / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1402, allocations: 0 / 362.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1404, allocations: 20.09 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1404, allocations: 3.938 kB / 362.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.1404, allocations: 11.92 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1405, allocations: 0 / 362.5 MB, free: 8.715 MB / 302.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 (6): * Single equations (assignments): 6 * 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.0001183/0.1406, allocations: 122.9 kB / 362.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.1407, allocations: 65.44 kB / 362.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1407, allocations: 15.83 kB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1408, allocations: 7.984 kB / 362.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.1408, allocations: 11.98 kB / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1408, allocations: 0 / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.141, allocations: 173.6 kB / 362.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.141, allocations: 4 kB / 362.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.1411, allocations: 11.98 kB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1411, allocations: 11.88 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1411, allocations: 4 kB / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1411, allocations: 0 / 362.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.1412, allocations: 7.938 kB / 362.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1414, allocations: 197.9 kB / 363.1 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.1415, allocations: 93 kB / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1415, allocations: 0 / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1416, allocations: 8 kB / 363.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1417, allocations: 11.94 kB / 363.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1417, allocations: 0 / 363.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1418, allocations: 114.6 kB / 363.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 363.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.142, allocations: 12 kB / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006216/0.1427, allocations: 0.7305 MB / 364.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1429, allocations: 43.86 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1429, allocations: 0 / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.1429, allocations: 16.3 kB / 364.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1435, allocations: 40.19 kB / 364.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1453, allocations: 1.456 MB / 365.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1457, allocations: 0.7001 MB / 366.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.1457, allocations: 4 kB / 366.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1458, allocations: 23.42 kB / 366.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1458, allocations: 4 kB / 366.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.1684, allocations: 1.839 MB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.378, allocations: 8.047 kB / 368.2 MB, free: 2.789 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches