Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008842/0.0008843, allocations: 178.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 225.7 MB / 243.2 MB, free: 8.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000718/0.000718, allocations: 94.34 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002428, allocations: 8 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2057, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002306/0.208, allocations: 1.559 MB / 406.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2098, allocations: 1.187 MB / 407.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.21, allocations: 8.781 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.2106, allocations: 136.5 kB / 407.5 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.2109, allocations: 104.8 kB / 407.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.2115, allocations: 180.7 kB / 407.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.2118, allocations: 172.1 kB / 407.9 MB, free: 27.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2119, allocations: 31.06 kB / 407.9 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.212, allocations: 72.08 kB / 408 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.2122, allocations: 64.61 kB / 408.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2122, allocations: 0 / 408.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.2123, allocations: 47.95 kB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.2124, allocations: 37.22 kB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.2125, allocations: 85.27 kB / 408.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.2128, allocations: 196.8 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2128, allocations: 0.7188 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2128, allocations: 0 / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2128, allocations: 0.5312 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006115/0.2135, allocations: 485.5 kB / 408.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2135, allocations: 10.56 kB / 408.9 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.2136, allocations: 20.66 kB / 408.9 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2139, allocations: 266.8 kB / 409.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2139, allocations: 4.375 kB / 409.2 MB, free: 26.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.214, allocations: 8.125 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.2143, allocations: 150 kB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2143, allocations: 0 / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2144, allocations: 4 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2144, allocations: 4 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2145, allocations: 35.92 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.215, allocations: 366.3 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.2152, allocations: 111.9 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2154, allocations: 42.56 kB / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.2154, allocations: 0 / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.2156, allocations: 79.33 kB / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.2156, allocations: 0 / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004152/0.216, allocations: 133.4 kB / 410.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.2161, allocations: 140.5 kB / 410.3 MB, free: 25.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.2164, allocations: 260.9 kB / 410.5 MB, free: 25.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2164, allocations: 25.95 kB / 410.5 MB, free: 25.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2165, allocations: 124.1 kB / 410.7 MB, free: 24.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2165, allocations: 19.8 kB / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.2166, allocations: 0 / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.2166, allocations: 330.8 kB / 411 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.2167, allocations: 19.98 kB / 411 MB, free: 24.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2168, allocations: 70 kB / 411.1 MB, free: 24.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.217, allocations: 72.22 kB / 411.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2171, allocations: 0 / 411.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002674/0.2173, allocations: 121.5 kB / 411.3 MB, free: 24.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2174, allocations: 4 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2174, allocations: 0 / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2174, allocations: 4 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2175, allocations: 15.98 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2175, allocations: 7.938 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2177, allocations: 11.88 kB / 411.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2177, allocations: 8.25 kB / 411.3 MB, free: 24.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001167/0.2178, allocations: 149.8 kB / 411.5 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/0.2179, allocations: 73.33 kB / 411.5 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.218, allocations: 21.72 kB / 411.6 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.218, allocations: 0 / 411.6 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.218, allocations: 3.984 kB / 411.6 MB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.218, allocations: 7.938 kB / 411.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2182, allocations: 221.7 kB / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2182, allocations: 0 / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.2183, allocations: 4 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2183, allocations: 4 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2183, allocations: 4.062 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2183, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2183, allocations: 7.984 kB / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2186, allocations: 150.5 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.2187, allocations: 112.8 kB / 412.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.2188, allocations: 8 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.2189, allocations: 4 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.2189, allocations: 11.98 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.219, allocations: 7.938 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2192, allocations: 192.5 kB / 412.3 MB, free: 23.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2192, allocations: 4.031 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.2196, allocations: 31.88 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001244/0.2208, allocations: 486.4 kB / 412.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.2211, allocations: 59.92 kB / 412.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2211, allocations: 0 / 412.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.964e-05/0.2212, allocations: 31.92 kB / 412.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.2217, allocations: 59.98 kB / 412.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.2223, allocations: 348.4 kB / 413.3 MB, free: 22.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2225, allocations: 0.7322 MB / 414 MB, free: 21.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.414e-05/0.2226, allocations: 17.55 kB / 414 MB, free: 21.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.2227, allocations: 19.44 kB / 414.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2227, allocations: 4 kB / 414.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of Templates: time 0.006689/0.2294, allocations: 2.271 MB / 416.3 MB, free: 19.17 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches