Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001167/0.001167, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 56.05 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2581, allocations: 50.54 MB / 408.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.0032/0.2613, allocations: 1.91 MB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2632, allocations: 1.185 MB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2633, allocations: 4 kB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.2639, allocations: 151.5 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.2642, allocations: 155.4 kB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2647, allocations: 167 kB / 412.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.2649, allocations: 199.4 kB / 412.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2651, allocations: 25.55 kB / 412.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2652, allocations: 79.69 kB / 412.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2653, allocations: 71.62 kB / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2653, allocations: 12 kB / 412.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2654, allocations: 51.97 kB / 412.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.2655, allocations: 51.83 kB / 412.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.2656, allocations: 71.48 kB / 412.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2659, allocations: 220.9 kB / 413.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2659, allocations: 0 / 413.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2659, allocations: 0 / 413.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2659, allocations: 3.938 kB / 413.1 MB, free: 13.32 MB / 334.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.0006764/0.2666, allocations: 0.5118 MB / 413.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2666, allocations: 8.031 kB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.2667, allocations: 38.75 kB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.2667, allocations: 20.73 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.267, allocations: 274.7 kB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.267, allocations: 4.359 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2671, allocations: 11.94 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2674, allocations: 150.7 kB / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2674, allocations: 0 / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2674, allocations: 0 / 414.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2674, allocations: 4 kB / 414.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.2675, allocations: 31.92 kB / 414.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.2679, allocations: 370.4 kB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2681, allocations: 107.9 kB / 414.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.2682, allocations: 46.56 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2683, allocations: 4 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.2684, allocations: 71.3 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2684, allocations: 0 / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003255/0.2688, allocations: 141.3 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.2688, allocations: 136.8 kB / 415 MB, free: 11.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2691, allocations: 280.9 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2691, allocations: 29.7 kB / 415.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.2692, allocations: 120 kB / 415.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.2692, allocations: 11.81 kB / 415.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.2693, allocations: 29.7 kB / 415.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2694, allocations: 330.8 kB / 415.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.2694, allocations: 23.98 kB / 415.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.2695, allocations: 73.94 kB / 415.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.2697, allocations: 80.25 kB / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2697, allocations: 0 / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001863/0.2699, allocations: 113.4 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2699, allocations: 4 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2699, allocations: 0 / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2699, allocations: 4 kB / 416.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.27, allocations: 15.92 kB / 416.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.27, allocations: 8.125 kB / 416.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.2701, allocations: 12.19 kB / 416.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.2701, allocations: 4 kB / 416.1 MB, free: 9.957 MB / 334.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.0001339/0.2702, allocations: 149.8 kB / 416.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.2703, allocations: 73.34 kB / 416.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.2704, allocations: 21.7 kB / 416.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2704, allocations: 3.938 kB / 416.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2704, allocations: 4.062 kB / 416.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2704, allocations: 7.938 kB / 416.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2706, allocations: 225.7 kB / 416.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2706, allocations: 0 / 416.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.2706, allocations: 11.92 kB / 416.6 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2706, allocations: 4 kB / 416.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2706, allocations: 0 / 416.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2707, allocations: 7.938 kB / 416.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2707, allocations: 0 / 416.6 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2709, allocations: 158.4 kB / 416.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.271, allocations: 112.8 kB / 416.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.271, allocations: 0 / 416.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.2711, allocations: 8 kB / 416.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.2711, allocations: 11.92 kB / 416.9 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2711, allocations: 4 kB / 416.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.2713, allocations: 200.5 kB / 417.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2713, allocations: 4 kB / 417.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.2716, allocations: 28 kB / 417.1 MB, free: 8.832 MB / 334.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.001227/0.2728, allocations: 0.9881 MB / 418.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.273, allocations: 75.78 kB / 418.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.273, allocations: 0 / 418.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.2731, allocations: 19.98 kB / 418.2 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2735, allocations: 75.05 kB / 418.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.2755, allocations: 1.963 MB / 420.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2758, allocations: 0.7319 MB / 421 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.2759, allocations: 25.78 kB / 421 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.276, allocations: 51.42 kB / 421 MB, free: 4.875 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.276, allocations: 0 / 421 MB, free: 4.875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2983, allocations: 4.667 MB / 425.7 MB, free: 340 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.941, allocations: 3.984 kB / 425.7 MB, free: 336 kB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches