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.002363/0.002364, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003185/0.003185, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.72 kB / 306.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 50.54 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003134/0.1273, allocations: 1.617 MB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.1283, allocations: 0.5337 MB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.1283, allocations: 0 / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.1284, allocations: 0 / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.1286, allocations: 7.938 kB / 359.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1289, allocations: 47.83 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.129, allocations: 39.84 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1291, allocations: 15.98 kB / 359.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1292, allocations: 23.92 kB / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.1293, allocations: 23.86 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1293, allocations: 0 / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.1293, allocations: 8 kB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.1294, allocations: 15.97 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1294, allocations: 23.81 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1295, allocations: 51.75 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1296, allocations: 0 / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1296, allocations: 3.938 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.1296, allocations: 0 / 359.5 MB, free: 11.92 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.0004714/0.1301, allocations: 387.3 kB / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1301, allocations: 8.031 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.1302, allocations: 30.75 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.1303, allocations: 20.83 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1305, allocations: 180.3 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1305, allocations: 384 / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.1306, allocations: 4.375 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1308, allocations: 105.1 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1308, allocations: 0 / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1308, allocations: 0 / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1308, allocations: 0 / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1309, allocations: 23.92 kB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1313, allocations: 269.7 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.1314, allocations: 41.16 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.1314, allocations: 21.77 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1315, allocations: 0 / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1315, allocations: 38.56 kB / 360.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1315, allocations: 0 / 360.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.1318, allocations: 65.61 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1318, allocations: 81.11 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.132, allocations: 136.9 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.132, allocations: 25.7 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.132, allocations: 96.22 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.1321, allocations: 15.88 kB / 361 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1321, allocations: 17.72 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1323, allocations: 314.8 kB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.1323, allocations: 11.98 kB / 361.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.1323, allocations: 21.66 kB / 361.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.705e-05/0.1324, allocations: 29.77 kB / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1324, allocations: 0 / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001192/0.1326, allocations: 65.52 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1326, allocations: 4 kB / 361.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1326, allocations: 0 / 361.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1326, allocations: 0 / 361.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1327, allocations: 4 kB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1327, allocations: 8.062 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.1327, allocations: 3.984 kB / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1328, allocations: 0 / 361.5 MB, free: 9.656 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 9.276e-05/0.1329, allocations: 121.7 kB / 361.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1329, allocations: 45.53 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.133, allocations: 15.83 kB / 361.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.133, allocations: 4 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.133, allocations: 0 / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.133, allocations: 4 kB / 361.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1332, allocations: 177.6 kB / 361.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1332, allocations: 0 / 361.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.1332, allocations: 7.984 kB / 361.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1332, allocations: 0 / 361.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1333, allocations: 4 kB / 361.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1333, allocations: 0 / 361.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1333, allocations: 0 / 361.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.1335, allocations: 160.2 kB / 362 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1335, allocations: 96.94 kB / 362.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1335, allocations: 0 / 362.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.1336, allocations: 7.984 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1337, allocations: 0 / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1337, allocations: 0 / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.19e-05/0.1338, allocations: 107.2 kB / 362.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1338, allocations: 0 / 362.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.134, allocations: 15.97 kB / 362.2 MB, free: 8.797 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.0004394/0.1345, allocations: 0.682 MB / 362.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1346, allocations: 31.95 kB / 363 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1346, allocations: 3.938 kB / 363 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.1346, allocations: 8 kB / 363 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.135, allocations: 18.25 kB / 363 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1364, allocations: 1.323 MB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1367, allocations: 0.6885 MB / 365 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.1367, allocations: 0 / 365 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1368, allocations: 19.47 kB / 365 MB, free: 5.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1368, allocations: 0 / 365 MB, free: 5.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.1485, allocations: 1.366 MB / 366.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/0.1489, allocations: 217.8 kB / 366.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.175, allocations: 0 / 366.6 MB, free: 4.398 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