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.001612/0.001612, allocations: 108 kB / 16.92 MB, free: 6.332 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.002018/0.002018, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.459/1.459, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 42.98 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1079, allocations: 49.43 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003333/0.1113, allocations: 1.424 MB / 351.6 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.1115, allocations: 27.91 kB / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.1116, allocations: 4 kB / 351.6 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.1117, allocations: 3.938 kB / 351.6 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.1118, allocations: 3.938 kB / 351.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1121, allocations: 23.09 kB / 351.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1122, allocations: 35.92 kB / 351.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1123, allocations: 4 kB / 351.7 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.1124, allocations: 19.91 kB / 351.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.1124, allocations: 11.94 kB / 351.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1124, allocations: 0 / 351.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.1125, allocations: 4 kB / 351.7 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.1125, allocations: 7.984 kB / 351.7 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1125, allocations: 15.88 kB / 351.7 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.669e-05/0.1126, allocations: 31.89 kB / 351.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1126, allocations: 4 kB / 351.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1127, allocations: 4 kB / 351.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1127, allocations: 0 / 351.8 MB, free: 2.707 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.0004866/0.1132, allocations: 343.7 kB / 352.1 MB, free: 2.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1132, allocations: 8.031 kB / 352.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1133, allocations: 38.73 kB / 352.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1133, allocations: 8.844 kB / 352.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1135, allocations: 172.3 kB / 352.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1135, allocations: 4.375 kB / 352.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1136, allocations: 4.375 kB / 352.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.1139, allocations: 115.9 kB / 352.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.114, allocations: 3.938 kB / 352.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.114, allocations: 4 kB / 352.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.114, allocations: 0 / 352.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1141, allocations: 23.97 kB / 352.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.1143, allocations: 165.6 kB / 352.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1145, allocations: 62.42 kB / 352.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.1146, allocations: 28.92 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1146, allocations: 0 / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1146, allocations: 38.5 kB / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1146, allocations: 0 / 352.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002959/0.1149, allocations: 85.7 kB / 352.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.115, allocations: 59.41 kB / 352.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1151, allocations: 109.8 kB / 353 MB, free: 1.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1151, allocations: 25.7 kB / 353.1 MB, free: 1.219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1152, allocations: 84.14 kB / 353.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1152, allocations: 3.906 kB / 353.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1153, allocations: 25.7 kB / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1154, allocations: 314.8 kB / 353.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.1154, allocations: 4 kB / 353.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.413e-05/0.1155, allocations: 35.42 kB / 353.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.1155, allocations: 35.38 kB / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1155, allocations: 0 / 353.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.1156, allocations: 61.62 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1157, allocations: 7.938 kB / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1157, allocations: 0 / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1157, allocations: 4 kB / 353.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.1158, allocations: 7.938 kB / 353.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.1158, allocations: 4 kB / 353.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.1158, allocations: 4 kB / 353.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1158, allocations: 4 kB / 353.6 MB, free: 0.5859 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.533e-05/0.1159, allocations: 114 kB / 353.7 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.1161, allocations: 73.5 kB / 353.8 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.1161, allocations: 7.906 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1161, allocations: 4 kB / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1161, allocations: 0 / 353.8 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1162, allocations: 3.938 kB / 353.8 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/0.1163, allocations: 157.6 kB / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1163, allocations: 3.984 kB / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.1163, allocations: 8 kB / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1164, allocations: 3.938 kB / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1164, allocations: 4 kB / 354 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1164, allocations: 0 / 354 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1164, allocations: 0 / 354 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1166, allocations: 89.09 kB / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1167, allocations: 88.95 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1167, allocations: 3.938 kB / 354.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.1167, allocations: 8.312 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.1167, allocations: 0 / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1168, allocations: 7.984 kB / 354.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.1168, allocations: 87.28 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1168, allocations: 0 / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.117, allocations: 4 kB / 354.3 MB, free: 15.82 MB / 302.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.0006166/0.1177, allocations: 0.6553 MB / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1178, allocations: 31.98 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1178, allocations: 4 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1178, allocations: 0 / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1182, allocations: 28.02 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1193, allocations: 1.183 MB / 356.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1197, allocations: 0.6807 MB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.1197, allocations: 288 / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1198, allocations: 15.42 kB / 356.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1198, allocations: 0 / 356.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.1375, allocations: 1.333 MB / 358.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.51, allocations: 5.75 kB / 358.2 MB, free: 11.85 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