Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001942, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.88 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002956/0.2924, allocations: 1.51 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004086/0.2929, allocations: 135.5 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.293, allocations: 0 / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.293, allocations: 3.938 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.2932, allocations: 7.922 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2934, allocations: 39.91 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2935, allocations: 31.92 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2937, allocations: 19.97 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.2937, allocations: 11.94 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.2937, allocations: 19.86 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.2938, allocations: 0 / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.2938, allocations: 4 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.2939, allocations: 11.98 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.2939, allocations: 19.81 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.294, allocations: 50.91 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.294, allocations: 0 / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.868e-06/0.2941, allocations: 0 / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2941, allocations: 3.938 kB / 410.7 MB, free: 15.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00056/0.2946, allocations: 371.1 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2947, allocations: 8.031 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.2947, allocations: 34.75 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.2948, allocations: 8.891 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.295, allocations: 192.3 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2951, allocations: 4.359 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2951, allocations: 4.375 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.2954, allocations: 117.5 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2954, allocations: 3.938 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2954, allocations: 4 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2954, allocations: 0 / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.2955, allocations: 15.98 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.2958, allocations: 269.7 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.296, allocations: 138.2 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.2961, allocations: 25.77 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.2961, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2961, allocations: 42.5 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2962, allocations: 0 / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.2964, allocations: 73.56 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.2965, allocations: 81.23 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2966, allocations: 129.8 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2966, allocations: 25.7 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.2967, allocations: 92.12 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.2967, allocations: 3.984 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.2967, allocations: 21.67 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2969, allocations: 314.8 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.2969, allocations: 15.98 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.297, allocations: 23.44 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.486e-05/0.2971, allocations: 43.36 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2971, allocations: 7.938 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.2972, allocations: 61.62 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2972, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.2973, allocations: 3.938 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2973, allocations: 7.938 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-06/0.2973, allocations: 0 / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2973, allocations: 0 / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.2973, allocations: 4 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2973, allocations: 8.109 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001061/0.2975, allocations: 129.8 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.2975, allocations: 49.64 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.2976, allocations: 7.906 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2976, allocations: 3.938 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2976, allocations: 4.328 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2976, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2978, allocations: 169.5 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2978, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.2978, allocations: 8 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2978, allocations: 3.984 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2979, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2979, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2979, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2981, allocations: 164.3 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.2981, allocations: 89.05 kB / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2982, allocations: 8 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.2982, allocations: 11.94 kB / 413.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2983, allocations: 0 / 413.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.2983, allocations: 4 kB / 413.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.2984, allocations: 102.8 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 0 / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.2986, allocations: 8 kB / 413.6 MB, free: 12.34 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0008404/0.2994, allocations: 0.6937 MB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.2996, allocations: 31.92 kB / 414.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2996, allocations: 0 / 414.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.2996, allocations: 7.984 kB / 414.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3, allocations: 30.5 kB / 414.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3015, allocations: 1.299 MB / 415.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3019, allocations: 0.6885 MB / 416.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.3019, allocations: 4 kB / 416.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.302, allocations: 11.44 kB / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.302, allocations: 0 / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3251, allocations: 1.462 MB / 417.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.159, allocations: 7.25 kB / 417.8 MB, free: 8.059 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches