Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 102.2 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 50.42 kB / 300.1 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 49.44 MB / 349.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003455/0.1195, allocations: 1.608 MB / 351.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.1205, allocations: 470.8 kB / 351.6 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1207, allocations: 4 kB / 351.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.1208, allocations: 11.92 kB / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1209, allocations: 3.938 kB / 351.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1212, allocations: 35.91 kB / 351.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.1214, allocations: 39.86 kB / 351.7 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1215, allocations: 11.98 kB / 351.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.1215, allocations: 15.88 kB / 351.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.1216, allocations: 19.91 kB / 351.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1216, allocations: 4 kB / 351.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.1216, allocations: 4 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.1217, allocations: 15.92 kB / 351.7 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1217, allocations: 19.81 kB / 351.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1219, allocations: 43.81 kB / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1219, allocations: 0 / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1219, allocations: 0 / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1219, allocations: 0 / 351.8 MB, free: 2.469 MB / 286.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.0005698/0.1225, allocations: 363.5 kB / 352.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1225, allocations: 12.02 kB / 352.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.1226, allocations: 42.75 kB / 352.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1226, allocations: 4.844 kB / 352.2 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1228, allocations: 192.1 kB / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1228, allocations: 4.312 kB / 352.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1229, allocations: 384 / 352.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.1231, allocations: 101.2 kB / 352.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1232, allocations: 4 kB / 352.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1232, allocations: 3.938 kB / 352.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1232, allocations: 0 / 352.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.1233, allocations: 19.92 kB / 352.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.1236, allocations: 257.8 kB / 352.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.1237, allocations: 49.14 kB / 352.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1238, allocations: 17.78 kB / 352.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1238, allocations: 3.984 kB / 352.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1238, allocations: 38.5 kB / 352.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1239, allocations: 0 / 352.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002713/0.1241, allocations: 73.52 kB / 353 MB, free: 1.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.1242, allocations: 81.05 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1243, allocations: 133.8 kB / 353.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1244, allocations: 25.7 kB / 353.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.1244, allocations: 88.14 kB / 353.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1245, allocations: 3.906 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.1245, allocations: 21.95 kB / 353.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1246, allocations: 318.8 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.1247, allocations: 11.98 kB / 353.6 MB, free: 388 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.1247, allocations: 17.72 kB / 353.7 MB, free: 364 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.1248, allocations: 25.7 kB / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1248, allocations: 12.06 kB / 353.7 MB, free: 320 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001235/0.125, allocations: 57.53 kB / 353.7 MB, free: 256 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.125, allocations: 10.48 kB / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.125, allocations: 0 / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.125, allocations: 0 / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.1251, allocations: 4 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1251, allocations: 4 kB / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.1251, allocations: 3.938 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1252, allocations: 8.062 kB / 353.8 MB, free: 228 kB / 286.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.608e-05/0.1253, allocations: 121.8 kB / 353.9 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.1253, allocations: 33.64 kB / 353.9 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.1254, allocations: 15.86 kB / 353.9 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1254, allocations: 0 / 353.9 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1254, allocations: 4 kB / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1254, allocations: 0 / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.1256, allocations: 173.5 kB / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1256, allocations: 0 / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.1257, allocations: 8.031 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1257, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1257, allocations: 4 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1257, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1257, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1259, allocations: 160.3 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.126, allocations: 101 kB / 354.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.126, allocations: 3.938 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1261, allocations: 4 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1261, allocations: 3.984 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1261, allocations: 0 / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.357e-05/0.1262, allocations: 103.3 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1262, allocations: 0 / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1264, allocations: 4 kB / 354.5 MB, free: 15.39 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.0004725/0.1269, allocations: 0.7014 MB / 355.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1271, allocations: 23.98 kB / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1271, allocations: 160 / 355.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.1271, allocations: 11.98 kB / 355.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1275, allocations: 19.91 kB / 355.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1288, allocations: 1.318 MB / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1291, allocations: 0.6887 MB / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.1291, allocations: 0 / 357.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1292, allocations: 19.42 kB / 357.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1292, allocations: 0 / 357.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.1426, allocations: 1.294 MB / 358.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.1428, allocations: 217.9 kB / 358.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.022, allocations: 4 kB / 358.8 MB, free: 11.03 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches