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.001948/0.001948, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002393/0.002393, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2683, allocations: 50.54 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004561/0.2729, allocations: 1.907 MB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.2752, allocations: 1.192 MB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.2754, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.2761, allocations: 147.5 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.2765, allocations: 159.4 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.2771, allocations: 167.1 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2774, allocations: 191.5 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2775, allocations: 41.47 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2777, allocations: 71.7 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2779, allocations: 75.62 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.2779, allocations: 8 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.278, allocations: 55.95 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.2781, allocations: 39.84 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.2782, allocations: 79.42 kB / 412.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.2786, allocations: 213 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2786, allocations: 4 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2786, allocations: 0 / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2786, allocations: 0 / 413.1 MB, free: 13.23 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.0009295/0.2796, allocations: 0.5079 MB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2796, allocations: 8.031 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.2797, allocations: 38.75 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.2798, allocations: 24.67 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.2802, allocations: 274.8 kB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2802, allocations: 8.359 kB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.2803, allocations: 15.94 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2806, allocations: 138.7 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2806, allocations: 0 / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2807, allocations: 11.94 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2807, allocations: 0 / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.2808, allocations: 35.92 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.2813, allocations: 358.4 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.2815, allocations: 115.9 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.2816, allocations: 42.56 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2817, allocations: 0 / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.2818, allocations: 83.3 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2819, allocations: 4 kB / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000391/0.2823, allocations: 141.3 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.2824, allocations: 128.5 kB / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.2826, allocations: 276.9 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2827, allocations: 33.7 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.2828, allocations: 120.3 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.2828, allocations: 15.75 kB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.2829, allocations: 33.7 kB / 415.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.283, allocations: 326.8 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.2831, allocations: 23.98 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2832, allocations: 78 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2834, allocations: 76.22 kB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2834, allocations: 4 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002176/0.2836, allocations: 109.5 kB / 416 MB, free: 9.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2836, allocations: 8 kB / 416.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2836, allocations: 0 / 416.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2836, allocations: 0 / 416.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.2837, allocations: 23.92 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2838, allocations: 0 / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.2838, allocations: 11.88 kB / 416.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2838, allocations: 4 kB / 416.1 MB, free: 9.852 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.0001284/0.284, allocations: 149.9 kB / 416.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/0.2841, allocations: 69.34 kB / 416.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.2841, allocations: 25.7 kB / 416.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2841, allocations: 4 kB / 416.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2842, allocations: 0 / 416.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.2842, allocations: 3.938 kB / 416.3 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2844, allocations: 221.9 kB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2844, allocations: 4 kB / 416.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.2844, allocations: 11.92 kB / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2844, allocations: 0 / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2844, allocations: 12.06 kB / 416.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2844, allocations: 0 / 416.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2845, allocations: 0 / 416.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.2847, allocations: 162.4 kB / 416.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2848, allocations: 112.8 kB / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2848, allocations: 4 kB / 416.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.2849, allocations: 8 kB / 416.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.285, allocations: 11.92 kB / 416.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.285, allocations: 4 kB / 416.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.2852, allocations: 204.5 kB / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2852, allocations: 0 / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2854, allocations: 24 kB / 417.1 MB, free: 8.73 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.001327/0.2868, allocations: 0.9906 MB / 418.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.287, allocations: 71.84 kB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.287, allocations: 256 / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.2871, allocations: 31.98 kB / 418.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2875, allocations: 67.42 kB / 418.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.2897, allocations: 1.956 MB / 420.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.29, allocations: 0.7358 MB / 421 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.2901, allocations: 21.53 kB / 421 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.2902, allocations: 47.42 kB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2902, allocations: 0 / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3125, allocations: 4.673 MB / 425.7 MB, free: 236 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.99, allocations: 4.062 kB / 425.7 MB, free: 232 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