Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, 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.001365/0.001365, allocations: 202 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.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 50.54 MB / 408.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003104/0.3, allocations: 1.499 MB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004515/0.3005, allocations: 139.5 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3006, allocations: 0 / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.3007, allocations: 3.938 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.3009, allocations: 7.938 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.3012, allocations: 39.52 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.3013, allocations: 23.94 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.3014, allocations: 7.984 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.3014, allocations: 11.94 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.378e-05/0.3015, allocations: 19.91 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3015, allocations: 4 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3015, allocations: 4 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.3016, allocations: 11.94 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.3016, allocations: 19.86 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.3017, allocations: 31.84 kB / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3017, allocations: 0 / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3017, allocations: 0 / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3017, allocations: 7.938 kB / 410.6 MB, free: 15.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004543/0.3022, allocations: 357 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3023, allocations: 12.03 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.3023, allocations: 34.75 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3023, allocations: 8.844 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3026, allocations: 196 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3027, allocations: 8.375 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3027, allocations: 384 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3029, allocations: 89.61 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.303, allocations: 3.938 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.303, allocations: 0 / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.303, allocations: 4 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.303, allocations: 15.94 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3034, allocations: 257.8 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.3035, allocations: 45.09 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.3036, allocations: 13.84 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3036, allocations: 7.984 kB / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.3037, allocations: 38.5 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.3037, allocations: 0 / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.3039, allocations: 57.59 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.304, allocations: 81.05 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3042, allocations: 129.8 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3042, allocations: 29.7 kB / 411.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.3042, allocations: 80.14 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.3043, allocations: 0 / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.3043, allocations: 25.95 kB / 412 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3044, allocations: 314.8 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.3045, allocations: 8 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.3045, allocations: 17.7 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.427e-05/0.3046, allocations: 25.66 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3046, allocations: 8 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.785e-05/0.3047, allocations: 45.59 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3047, allocations: 10.97 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3047, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3047, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.617e-05/0.3048, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3048, allocations: 3.938 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.3048, allocations: 8 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3048, allocations: 0 / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001005/0.3049, allocations: 125.8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.305, allocations: 37.7 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.305, allocations: 15.45 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.305, allocations: 4 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3051, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3051, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3052, allocations: 169.5 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3053, allocations: 0 / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.3053, allocations: 0 / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3053, allocations: 8.031 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3053, allocations: 3.984 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3053, allocations: 0 / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3053, allocations: 0 / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.3055, allocations: 152.3 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3055, allocations: 93 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3055, allocations: 3.938 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.3056, allocations: 8.031 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.3056, allocations: 4 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3056, allocations: 0 / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.349e-05/0.3057, allocations: 106.5 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3057, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.306, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003904/0.3063, allocations: 0.6936 MB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.3065, allocations: 19.94 kB / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3065, allocations: 0 / 413.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.3065, allocations: 11.92 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3068, allocations: 12.34 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3079, allocations: 1.241 MB / 415.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.3082, allocations: 0.6885 MB / 415.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.875e-05/0.3082, allocations: 3.938 kB / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3082, allocations: 19.47 kB / 415.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3082, allocations: 0 / 415.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.326, allocations: 1.381 MB / 417.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.755, allocations: 3.859 kB / 417.3 MB, free: 8.668 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches