Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000838/0.0008381, allocations: 88.28 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002376, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.283, allocations: 51.42 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002165/0.2852, allocations: 1.591 MB / 413.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.2873, allocations: 1.642 MB / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.2874, allocations: 3.938 kB / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.2882, allocations: 148.3 kB / 415.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.2887, allocations: 132.1 kB / 415.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.2892, allocations: 189.1 kB / 415.7 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.2895, allocations: 187.4 kB / 415.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2896, allocations: 33.47 kB / 416 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2897, allocations: 67.64 kB / 416 MB, free: 21.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2899, allocations: 71.62 kB / 416.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2899, allocations: 4 kB / 416.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.29, allocations: 39.92 kB / 416.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.2901, allocations: 35.89 kB / 416.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.2902, allocations: 89.19 kB / 416.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2905, allocations: 206.5 kB / 416.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2905, allocations: 0 / 416.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2905, allocations: 0 / 416.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2905, allocations: 0 / 416.5 MB, free: 21.34 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.0007761/0.2913, allocations: 0.4885 MB / 417 MB, free: 20.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2913, allocations: 8.031 kB / 417 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.2914, allocations: 24.73 kB / 417 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2917, allocations: 262.8 kB / 417.2 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2917, allocations: 8.375 kB / 417.2 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.2917, allocations: 12.12 kB / 417.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.2921, allocations: 146.7 kB / 417.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2921, allocations: 7.922 kB / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2921, allocations: 0 / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2921, allocations: 4 kB / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.2922, allocations: 27.98 kB / 417.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.2926, allocations: 370.3 kB / 417.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.2928, allocations: 111.9 kB / 417.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.2929, allocations: 42.56 kB / 418 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.2929, allocations: 4 kB / 418 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.2931, allocations: 75.31 kB / 418 MB, free: 19.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2931, allocations: 4 kB / 418 MB, free: 19.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003387/0.2934, allocations: 137.4 kB / 418.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.2935, allocations: 132.5 kB / 418.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.2937, allocations: 265 kB / 418.6 MB, free: 18.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2937, allocations: 33.7 kB / 418.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.2938, allocations: 120 kB / 418.7 MB, free: 18.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.2938, allocations: 15.98 kB / 418.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.2939, allocations: 12 kB / 418.7 MB, free: 18.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.2939, allocations: 330.8 kB / 419.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.294, allocations: 19.92 kB / 419.1 MB, free: 18.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.2941, allocations: 73.94 kB / 419.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.2942, allocations: 76.25 kB / 419.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2942, allocations: 0 / 419.2 MB, free: 18.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001672/0.2944, allocations: 117.3 kB / 419.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2944, allocations: 8 kB / 419.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2944, allocations: 4.125 kB / 419.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2944, allocations: 4 kB / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.2945, allocations: 12.3 kB / 419.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2945, allocations: 0 / 419.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.2946, allocations: 15.94 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2946, allocations: 8 kB / 419.4 MB, free: 18.08 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 8.79e-05/0.2947, allocations: 145.7 kB / 419.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.2948, allocations: 69.41 kB / 419.6 MB, free: 17.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.2948, allocations: 21.72 kB / 419.6 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2948, allocations: 0 / 419.6 MB, free: 17.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2949, allocations: 3.984 kB / 419.6 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2949, allocations: 7.922 kB / 419.6 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.295, allocations: 225.7 kB / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.295, allocations: 0 / 419.9 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.295, allocations: 11.92 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.295, allocations: 4 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2951, allocations: 0 / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2951, allocations: 3.984 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2951, allocations: 8.062 kB / 419.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.2953, allocations: 154.4 kB / 420 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.2953, allocations: 112.8 kB / 420.1 MB, free: 17.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2954, allocations: 4 kB / 420.1 MB, free: 17.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.2954, allocations: 15.98 kB / 420.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2955, allocations: 4 kB / 420.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.2955, allocations: 7.938 kB / 420.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2956, allocations: 200.5 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2956, allocations: 3.938 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.2959, allocations: 27.98 kB / 420.4 MB, free: 16.96 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.0008657/0.2967, allocations: 464.7 kB / 420.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2969, allocations: 79.88 kB / 420.9 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2969, allocations: 0 / 420.9 MB, free: 16.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.297, allocations: 23.98 kB / 421 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2973, allocations: 56.38 kB / 421 MB, free: 16.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.2978, allocations: 360.3 kB / 421.4 MB, free: 16.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.298, allocations: 0.7322 MB / 422.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.298, allocations: 25.53 kB / 422.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2981, allocations: 19.44 kB / 422.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2981, allocations: 0 / 422.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of Templates: time 0.004568/0.3027, allocations: 2.31 MB / 424.4 MB, free: 12.99 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches