Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001435/0.001435, allocations: 114.3 kB / 16.63 MB, free: 6.812 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.001934/0.001934, allocations: 190 kB / 17.55 MB, free: 5.934 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.572/1.572, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 48.52 kB / 300.2 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1127, allocations: 49.44 MB / 349.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003782/0.1166, allocations: 1.561 MB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003848/0.117, allocations: 135.6 kB / 351.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.1171, allocations: 0 / 351.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.1172, allocations: 7.938 kB / 351.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1173, allocations: 3.984 kB / 351.4 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1176, allocations: 35.91 kB / 351.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.1177, allocations: 23.94 kB / 351.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1178, allocations: 15.98 kB / 351.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.1178, allocations: 7.938 kB / 351.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1179, allocations: 19.86 kB / 351.5 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1179, allocations: 0 / 351.5 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.1179, allocations: 4 kB / 351.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.118, allocations: 8 kB / 351.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.118, allocations: 27.78 kB / 351.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1181, allocations: 39.78 kB / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1181, allocations: 0 / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1181, allocations: 0 / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1182, allocations: 0 / 351.6 MB, free: 2.742 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.0004805/0.1186, allocations: 363.5 kB / 351.9 MB, free: 2.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1187, allocations: 8.031 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.1187, allocations: 38.75 kB / 352 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1188, allocations: 8.828 kB / 352 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.119, allocations: 184.2 kB / 352.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.119, allocations: 8.375 kB / 352.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.119, allocations: 384 / 352.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1193, allocations: 93.55 kB / 352.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1193, allocations: 7.938 kB / 352.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1193, allocations: 0 / 352.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1193, allocations: 0 / 352.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.1194, allocations: 23.92 kB / 352.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1197, allocations: 257.8 kB / 352.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.1198, allocations: 45.08 kB / 352.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.1199, allocations: 21.78 kB / 352.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1199, allocations: 0 / 352.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1199, allocations: 38.55 kB / 352.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.12, allocations: 3.938 kB / 352.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002355/0.1202, allocations: 61.53 kB / 352.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.1203, allocations: 81.11 kB / 352.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1204, allocations: 134.1 kB / 352.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1204, allocations: 25.7 kB / 352.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.1205, allocations: 92.39 kB / 353 MB, free: 1.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/0.1205, allocations: 3.906 kB / 353 MB, free: 1.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.1205, allocations: 13.72 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.1206, allocations: 314.8 kB / 353.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.1207, allocations: 7.984 kB / 353.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.1207, allocations: 21.66 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.1208, allocations: 29.77 kB / 353.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1208, allocations: 3.938 kB / 353.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/0.1209, allocations: 57.61 kB / 353.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1209, allocations: 4 kB / 353.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1209, allocations: 0 / 353.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.121, allocations: 4 kB / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.121, allocations: 8.062 kB / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.121, allocations: 0 / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.1211, allocations: 0 / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1211, allocations: 4 kB / 353.5 MB, free: 0.5312 MB / 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: 2 (step.y,sample1.y) * 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 7.76e-05/0.1212, allocations: 121.8 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.1212, allocations: 41.55 kB / 353.7 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.1213, allocations: 11.86 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1213, allocations: 0 / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1213, allocations: 4 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1213, allocations: 4.031 kB / 353.7 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1215, allocations: 165.6 kB / 353.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1215, allocations: 0 / 353.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.1215, allocations: 7.984 kB / 353.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1215, allocations: 0 / 353.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1215, allocations: 4 kB / 353.8 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1215, allocations: 3.938 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1216, allocations: 0 / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1217, allocations: 164.2 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.1218, allocations: 92.94 kB / 354.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1218, allocations: 11.94 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.1219, allocations: 3.984 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1219, allocations: 0 / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.122, allocations: 8 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.6e-05/0.122, allocations: 102.5 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.122, allocations: 4.031 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1223, allocations: 4 kB / 354.2 MB, free: 15.69 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: 2 (step.y,sample1.y) * 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.0004809/0.1227, allocations: 0.6937 MB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1229, allocations: 23.95 kB / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1229, allocations: 0 / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1229, allocations: 7.984 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.1233, allocations: 18.34 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1247, allocations: 1.28 MB / 356.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.125, allocations: 0.6846 MB / 356.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.727e-05/0.125, allocations: 4 kB / 356.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1251, allocations: 11.44 kB / 357 MB, free: 12.82 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1251, allocations: 4.031 kB / 357 MB, free: 12.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.1367, allocations: 1.249 MB / 358.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.137, allocations: 230.3 kB / 358.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.146, allocations: 0 / 358.4 MB, free: 11.46 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches