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.001386/0.001386, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 197.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 50.55 MB / 408.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003515/0.2636, allocations: 1.902 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2658, allocations: 1.192 MB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.266, allocations: 0 / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.2666, allocations: 151.5 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.2671, allocations: 155.4 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.2676, allocations: 175.1 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.2679, allocations: 195.4 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.268, allocations: 21.56 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2682, allocations: 71.7 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2683, allocations: 79.62 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2683, allocations: 8 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2685, allocations: 59.95 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.2686, allocations: 39.84 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.2687, allocations: 75.48 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.2691, allocations: 214.2 kB / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2691, allocations: 0 / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2691, allocations: 0 / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2691, allocations: 0 / 413.1 MB, free: 13.15 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.0008212/0.2699, allocations: 0.5193 MB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.27, allocations: 12.03 kB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.27, allocations: 38.73 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.2701, allocations: 24.8 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.2705, allocations: 279 kB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2705, allocations: 8.375 kB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2705, allocations: 11.94 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2709, allocations: 138.7 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2709, allocations: 0 / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2709, allocations: 4 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2709, allocations: 7.984 kB / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.2711, allocations: 35.91 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.2716, allocations: 366.4 kB / 414.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.2719, allocations: 107.9 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.272, allocations: 46.5 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.272, allocations: 0 / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.2722, allocations: 71.39 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2722, allocations: 0 / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003971/0.2726, allocations: 153.4 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2727, allocations: 136.4 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.2731, allocations: 272.9 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2731, allocations: 29.7 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.2732, allocations: 120.1 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.2732, allocations: 19.95 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.2733, allocations: 37.92 kB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2735, allocations: 330.8 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.2736, allocations: 20 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2737, allocations: 69.98 kB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2738, allocations: 80.2 kB / 416 MB, free: 9.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2739, allocations: 0 / 416 MB, free: 9.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.2741, allocations: 113.8 kB / 416.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2741, allocations: 4 kB / 416.1 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2741, allocations: 8.188 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2741, allocations: 4 kB / 416.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.2742, allocations: 19.92 kB / 416.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2742, allocations: 0 / 416.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.2743, allocations: 15.83 kB / 416.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2743, allocations: 4 kB / 416.2 MB, free: 9.75 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.0001418/0.2745, allocations: 141.8 kB / 416.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.2746, allocations: 65.53 kB / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.2747, allocations: 29.77 kB / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2747, allocations: 0 / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2747, allocations: 4 kB / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2747, allocations: 3.938 kB / 416.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2749, allocations: 229.5 kB / 416.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2749, allocations: 4 kB / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.275, allocations: 4 kB / 416.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.275, allocations: 0 / 416.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.275, allocations: 4 kB / 416.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.275, allocations: 3.938 kB / 416.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.275, allocations: 4 kB / 416.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.2753, allocations: 162.5 kB / 416.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.2754, allocations: 105 kB / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2754, allocations: 0 / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.2755, allocations: 11.98 kB / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.2755, allocations: 12.03 kB / 416.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2756, allocations: 7.938 kB / 417 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.2758, allocations: 200.5 kB / 417.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2758, allocations: 0 / 417.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000262/0.276, allocations: 35.92 kB / 417.2 MB, free: 8.633 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.002044/0.2781, allocations: 0.9938 MB / 418.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.2783, allocations: 67.92 kB / 418.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2784, allocations: 3.938 kB / 418.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.2784, allocations: 23.98 kB / 418.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.2789, allocations: 78.73 kB / 418.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2815, allocations: 1.948 MB / 420.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.2819, allocations: 0.728 MB / 421 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.008e-05/0.282, allocations: 25.53 kB / 421 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.2821, allocations: 47.36 kB / 421.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.565e-06/0.2822, allocations: 0 / 421.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.3087, allocations: 4.625 MB / 425.7 MB, free: 196 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.423, allocations: 2.188 kB / 425.7 MB, free: 196 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.1.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