Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.002258/0.002258, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.002152/0.002152, allocations: 189.4 kB / 18 MB, free: 5.098 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.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 51.91 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 49.44 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003329/0.2493, allocations: 1.886 MB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2512, allocations: 1.048 MB / 403.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2514, allocations: 3.938 kB / 403.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.2521, allocations: 147.5 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.2524, allocations: 115.6 kB / 403.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.253, allocations: 202.7 kB / 403.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.2533, allocations: 183.5 kB / 403.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2534, allocations: 33.53 kB / 403.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2535, allocations: 79.62 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2537, allocations: 71.64 kB / 404 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.2537, allocations: 8 kB / 404 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2538, allocations: 51.97 kB / 404 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.2539, allocations: 43.84 kB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.254, allocations: 71.53 kB / 404.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.2543, allocations: 206.2 kB / 404.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2544, allocations: 0 / 404.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2544, allocations: 0 / 404.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2544, allocations: 4 kB / 404.4 MB, free: 4.711 MB / 318.1 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.0007463/0.2551, allocations: 0.5116 MB / 404.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2552, allocations: 8.031 kB / 404.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.2552, allocations: 38.75 kB / 404.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.2553, allocations: 24.73 kB / 404.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.2556, allocations: 270.9 kB / 405.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2557, allocations: 8.312 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.2557, allocations: 11.94 kB / 405.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.256, allocations: 152.8 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.256, allocations: 0 / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.256, allocations: 3.984 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2561, allocations: 0 / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2562, allocations: 35.92 kB / 405.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.2567, allocations: 354.5 kB / 405.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.2569, allocations: 107.9 kB / 405.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.257, allocations: 46.5 kB / 405.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2571, allocations: 4 kB / 405.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.2572, allocations: 71.34 kB / 406 MB, free: 2.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.2573, allocations: 8 kB / 406 MB, free: 2.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003963/0.2577, allocations: 141.6 kB / 406.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2578, allocations: 132.5 kB / 406.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2581, allocations: 264.9 kB / 406.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.2581, allocations: 29.7 kB / 406.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.2582, allocations: 116.1 kB / 406.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2583, allocations: 20.09 kB / 406.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.2584, allocations: 37.7 kB / 406.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2585, allocations: 326.8 kB / 407 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.2586, allocations: 20.05 kB / 407.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.2587, allocations: 81.94 kB / 407.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2589, allocations: 80.19 kB / 407.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2589, allocations: 0 / 407.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002166/0.2591, allocations: 113.5 kB / 407.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2591, allocations: 8.125 kB / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2591, allocations: 0 / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2591, allocations: 4 kB / 407.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.2592, allocations: 15.94 kB / 407.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2593, allocations: 7.984 kB / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.2593, allocations: 11.89 kB / 407.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.2593, allocations: 4 kB / 407.4 MB, free: 1.344 MB / 318.1 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,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.0001271/0.2595, allocations: 137.8 kB / 407.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2596, allocations: 69.53 kB / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.2596, allocations: 17.72 kB / 407.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2597, allocations: 4 kB / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2597, allocations: 0 / 407.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.2597, allocations: 7.922 kB / 407.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2599, allocations: 225.5 kB / 407.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2599, allocations: 0 / 407.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.2599, allocations: 4 kB / 407.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2599, allocations: 3.938 kB / 407.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.26, allocations: 4 kB / 407.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.26, allocations: 12.06 kB / 407.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.26, allocations: 0 / 407.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2602, allocations: 158.6 kB / 408 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.2603, allocations: 112.9 kB / 408.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.2604, allocations: 4 kB / 408.1 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.2604, allocations: 11.98 kB / 408.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2605, allocations: 7.938 kB / 408.1 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2605, allocations: 4 kB / 408.1 MB, free: 476 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.2607, allocations: 196.5 kB / 408.3 MB, free: 280 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.903e-06/0.2607, allocations: 0 / 408.3 MB, free: 280 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000252/0.261, allocations: 31.92 kB / 408.4 MB, free: 248 kB / 318.1 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.001949/0.2629, allocations: 1 MB / 409.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2632, allocations: 63.92 kB / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2632, allocations: 3.938 kB / 409.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.951e-05/0.2633, allocations: 32.22 kB / 409.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.2637, allocations: 63.02 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.2663, allocations: 1.92 MB / 411.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2667, allocations: 0.7319 MB / 412.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.2668, allocations: 21.53 kB / 412.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.2669, allocations: 47.42 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2669, allocations: 0 / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.2932, allocations: 4.559 MB / 416.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.464, allocations: 8.5 kB / 416.8 MB, free: 7.922 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches