Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",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.00131/0.00131, allocations: 106.7 kB / 16.51 MB, free: 6.719 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.001171/0.001171, allocations: 194.5 kB / 17.43 MB, free: 6.059 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.565/1.565, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 43.23 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003566/0.1199, allocations: 1.479 MB / 351 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.1202, allocations: 31.91 kB / 351 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1203, allocations: 0 / 351 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.726e-05/0.1204, allocations: 3.938 kB / 351 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.1205, allocations: 0 / 351 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1208, allocations: 15.98 kB / 351 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.121, allocations: 35.84 kB / 351.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1211, allocations: 12 kB / 351.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.1212, allocations: 11.98 kB / 351.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1212, allocations: 7.938 kB / 351.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1212, allocations: 0 / 351.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.1213, allocations: 0 / 351.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.1213, allocations: 15.92 kB / 351.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1213, allocations: 11.94 kB / 351.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1215, allocations: 27.89 kB / 351.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1215, allocations: 0 / 351.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1215, allocations: 0 / 351.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1215, allocations: 4 kB / 351.2 MB, free: 3.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005842/0.1221, allocations: 347.7 kB / 351.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1221, allocations: 12.03 kB / 351.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1222, allocations: 38.67 kB / 351.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1222, allocations: 4.844 kB / 351.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1224, allocations: 180.3 kB / 351.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1225, allocations: 384 / 351.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1225, allocations: 4.375 kB / 351.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1229, allocations: 123.8 kB / 351.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1229, allocations: 3.938 kB / 351.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1229, allocations: 0 / 351.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1229, allocations: 7.938 kB / 351.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.123, allocations: 23.97 kB / 351.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1232, allocations: 161.6 kB / 352.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1234, allocations: 66.47 kB / 352.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.1235, allocations: 24.92 kB / 352.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1235, allocations: 4 kB / 352.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1235, allocations: 30.56 kB / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.1235, allocations: 0 / 352.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003008/0.1239, allocations: 85.53 kB / 352.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.1239, allocations: 55.41 kB / 352.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1241, allocations: 113.8 kB / 352.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1241, allocations: 25.7 kB / 352.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1241, allocations: 88.14 kB / 352.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.1242, allocations: 3.906 kB / 352.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1242, allocations: 21.7 kB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1243, allocations: 310.8 kB / 352.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.1243, allocations: 4 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.1244, allocations: 35.42 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.1244, allocations: 35.38 kB / 352.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1244, allocations: 0 / 352.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.1245, allocations: 65.69 kB / 353 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1246, allocations: 7.938 kB / 353 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1246, allocations: 7.938 kB / 353 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1246, allocations: 0 / 353 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.1247, allocations: 11.94 kB / 353 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1247, allocations: 0 / 353 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.1247, allocations: 0 / 353 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1247, allocations: 4 kB / 353 MB, free: 0.9336 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.885e-05/0.1248, allocations: 113.8 kB / 353.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.125, allocations: 73.56 kB / 353.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.125, allocations: 11.91 kB / 353.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.125, allocations: 0 / 353.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.125, allocations: 3.938 kB / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1251, allocations: 0 / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1252, allocations: 153.7 kB / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1252, allocations: 3.984 kB / 353.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.1253, allocations: 8.375 kB / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1253, allocations: 3.938 kB / 353.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1253, allocations: 3.938 kB / 353.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1253, allocations: 8 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1253, allocations: 4 kB / 353.4 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1255, allocations: 89.09 kB / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1255, allocations: 84.95 kB / 353.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1256, allocations: 7.938 kB / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.1256, allocations: 4.281 kB / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-06/0.1256, allocations: 3.984 kB / 353.6 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1256, allocations: 0 / 353.6 MB, free: 264 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.1257, allocations: 87.28 kB / 353.7 MB, free: 176 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.1257, allocations: 0 / 353.7 MB, free: 176 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1259, allocations: 11.94 kB / 353.7 MB, free: 164 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006241/0.1265, allocations: 0.6475 MB / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1267, allocations: 40.11 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1267, allocations: 0 / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.1267, allocations: 0 / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1271, allocations: 34.77 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1283, allocations: 1.174 MB / 355.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1286, allocations: 0.6809 MB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.1286, allocations: 4 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.1287, allocations: 11.42 kB / 356.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1287, allocations: 0 / 356.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1447, allocations: 1.219 MB / 357.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.1451, allocations: 223 kB / 357.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.148, allocations: 3.938 kB / 357.7 MB, free: 12.08 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches