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.001133/0.001133, allocations: 104.4 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.0013/0.0013, allocations: 216.5 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.528/1.528, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 64.05 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1271, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00393/0.1311, allocations: 1.566 MB / 359.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1324, allocations: 0.5259 MB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1326, allocations: 0 / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.1327, allocations: 7.922 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1328, allocations: 15.88 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1333, allocations: 51.81 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1334, allocations: 39.86 kB / 359.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1335, allocations: 15.97 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1337, allocations: 35.84 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.1338, allocations: 15.86 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1338, allocations: 4 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.1339, allocations: 8 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.134, allocations: 8 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.134, allocations: 23.8 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1342, allocations: 55.81 kB / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1343, allocations: 0 / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.1343, allocations: 0 / 360 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1343, allocations: 3.938 kB / 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.0006658/0.1349, allocations: 371.3 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.135, allocations: 8.031 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.1351, allocations: 38.75 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.1353, allocations: 16.83 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1356, allocations: 192.2 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1356, allocations: 8.375 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1356, allocations: 384 / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1359, allocations: 89.17 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.136, allocations: 7.938 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.136, allocations: 4 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.136, allocations: 4 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.1361, allocations: 11.98 kB / 360.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1365, allocations: 265.7 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.1366, allocations: 49.14 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1367, allocations: 17.78 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1367, allocations: 4 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1368, allocations: 38.5 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.1368, allocations: 0 / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002887/0.1371, allocations: 61.89 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.1372, allocations: 85.08 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1373, allocations: 140.5 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1373, allocations: 25.7 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.1374, allocations: 92.05 kB / 361.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1374, allocations: 7.938 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1375, allocations: 21.64 kB / 361.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1376, allocations: 318.8 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.1377, allocations: 8 kB / 361.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.004e-05/0.1378, allocations: 21.72 kB / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.1379, allocations: 29.7 kB / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1379, allocations: 0 / 361.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001467/0.138, allocations: 61.59 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.138, allocations: 6.812 kB / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1381, allocations: 0 / 361.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.1381, allocations: 4 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1382, allocations: 7.984 kB / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1382, allocations: 0 / 361.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.1382, allocations: 4 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1383, allocations: 4 kB / 361.9 MB, free: 9.355 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.0001071/0.1384, allocations: 133.7 kB / 362.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.1384, allocations: 37.61 kB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.1385, allocations: 11.83 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1385, allocations: 4 kB / 362.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1385, allocations: 3.984 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1385, allocations: 0 / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1387, allocations: 169.6 kB / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1387, allocations: 0 / 362.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.1388, allocations: 8 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1388, allocations: 0 / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1388, allocations: 4.031 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1388, allocations: 0 / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1388, allocations: 3.938 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.139, allocations: 172.2 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.1391, allocations: 89 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1391, allocations: 3.984 kB / 362.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1392, allocations: 8.031 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1392, allocations: 4 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1393, allocations: 0 / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.554e-05/0.1393, allocations: 113.8 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 0 / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1396, allocations: 4 kB / 362.7 MB, free: 8.496 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.0004819/0.1401, allocations: 0.6975 MB / 363.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1402, allocations: 19.98 kB / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1403, allocations: 0 / 363.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.1403, allocations: 15.92 kB / 363.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1407, allocations: 12.25 kB / 363.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1424, allocations: 1.308 MB / 364.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1427, allocations: 0.6885 MB / 365.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.1428, allocations: 7.984 kB / 365.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.1428, allocations: 11.44 kB / 365.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1428, allocations: 0 / 365.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.1636, allocations: 1.458 MB / 366.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.427, allocations: 11.17 kB / 366.9 MB, free: 4.223 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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