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.00157/0.001571, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.88 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3209, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.004449/0.3254, allocations: 1.502 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.326, allocations: 127.5 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.3261, allocations: 4 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.3262, allocations: 3.938 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3264, allocations: 11.92 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3267, allocations: 35.91 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3269, allocations: 27.92 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.327, allocations: 7.984 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.327, allocations: 15.92 kB / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.3271, allocations: 11.94 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3271, allocations: 4 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.3272, allocations: 4 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3272, allocations: 7.922 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3273, allocations: 19.88 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3275, allocations: 46.84 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3275, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.092e-06/0.3275, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3275, allocations: 3.938 kB / 410.6 MB, free: 15.66 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.0006535/0.3282, allocations: 359.2 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.3282, allocations: 12.02 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.3283, allocations: 34.75 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.3284, allocations: 12.89 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3288, allocations: 180.3 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3288, allocations: 4.359 kB / 411.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3288, allocations: 8.375 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.3292, allocations: 89.61 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3292, allocations: 3.938 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3292, allocations: 0 / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3292, allocations: 0 / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3294, allocations: 23.86 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.3298, allocations: 253.8 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.33, allocations: 49.08 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.3301, allocations: 13.78 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3301, allocations: 0 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.3301, allocations: 30.56 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.3302, allocations: 4 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000333/0.3305, allocations: 65.58 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.3306, allocations: 77.11 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3308, allocations: 129.8 kB / 412 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3308, allocations: 29.7 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.3309, allocations: 84.14 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.331, allocations: 4.203 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.331, allocations: 21.72 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3313, allocations: 314.8 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.3313, allocations: 11.98 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.3314, allocations: 17.66 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3315, allocations: 29.77 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.3316, allocations: 3.938 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001646/0.3317, allocations: 41.64 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3318, allocations: 4 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3318, allocations: 3.984 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3318, allocations: 4 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.3319, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.3319, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.3319, allocations: 0 / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.332, allocations: 8.062 kB / 412.5 MB, free: 13.49 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.0001418/0.3321, allocations: 121.8 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3322, allocations: 45.58 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3323, allocations: 11.48 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3323, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3323, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3323, allocations: 4 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3326, allocations: 169.6 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3327, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.3327, allocations: 4.031 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3327, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3327, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3327, allocations: 4 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3327, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.333, allocations: 148.3 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.3331, allocations: 96.98 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3332, allocations: 11.97 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.3333, allocations: 0 / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.3333, allocations: 3.984 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3334, allocations: 7.984 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3335, allocations: 106.7 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3335, allocations: 0 / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004157/0.3339, allocations: 4 kB / 413.3 MB, free: 12.66 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.0006982/0.3346, allocations: 0.686 MB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.3348, allocations: 19.86 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3348, allocations: 0 / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.3349, allocations: 8.156 kB / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3355, allocations: 21.56 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3374, allocations: 1.256 MB / 415.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.3378, allocations: 0.6846 MB / 415.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.24e-05/0.3379, allocations: 4.031 kB / 415.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.338, allocations: 19.42 kB / 416 MB, free: 9.82 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.338, allocations: 0 / 416 MB, free: 9.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.3671, allocations: 1.37 MB / 417.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.226, allocations: 7.922 kB / 417.3 MB, free: 8.578 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.1.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