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.001458/0.001458, allocations: 118.8 kB / 17.79 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 201.2 kB / 18.73 MB, free: 4.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 63.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2815, allocations: 50.55 MB / 408.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002501/0.2841, allocations: 1.492 MB / 410.2 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.2845, allocations: 135.5 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.2846, allocations: 0 / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.2846, allocations: 3.938 kB / 410.4 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2848, allocations: 7.922 kB / 410.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.285, allocations: 36 kB / 410.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.2851, allocations: 31.83 kB / 410.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.2852, allocations: 8 kB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.2852, allocations: 11.92 kB / 410.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.646e-05/0.2853, allocations: 11.94 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2853, allocations: 0 / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-06/0.2853, allocations: 4 kB / 410.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.2854, allocations: 15.92 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.2854, allocations: 15.86 kB / 410.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.2855, allocations: 43.83 kB / 410.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2855, allocations: 4 kB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2855, allocations: 0 / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2855, allocations: 0 / 410.6 MB, free: 15.84 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.0003819/0.2859, allocations: 357 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2859, allocations: 12.03 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.286, allocations: 34.73 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.286, allocations: 12.78 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2862, allocations: 192.1 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2863, allocations: 8.312 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2863, allocations: 4.375 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2865, allocations: 89.61 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2865, allocations: 7.938 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.2865, allocations: 0 / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2865, allocations: 0 / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.2866, allocations: 15.98 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.2869, allocations: 257.8 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.287, allocations: 41.14 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.287, allocations: 17.78 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.2871, allocations: 4 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.2871, allocations: 38.5 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2871, allocations: 0 / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000192/0.2873, allocations: 61.52 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.2874, allocations: 77.11 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2875, allocations: 134.1 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2875, allocations: 29.69 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.2875, allocations: 88.14 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.2876, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.2876, allocations: 13.72 kB / 412 MB, free: 14.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.2877, allocations: 314.8 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.2877, allocations: 11.92 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.2878, allocations: 17.72 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.2878, allocations: 25.66 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2878, allocations: 3.938 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.259e-05/0.2879, allocations: 49.59 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2879, allocations: 4 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2879, allocations: 0 / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.288, allocations: 8.125 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.288, allocations: 7.922 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.288, allocations: 0 / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.288, allocations: 0 / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.288, allocations: 4 kB / 412.5 MB, free: 13.66 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 8.073e-05/0.2881, allocations: 121.7 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2882, allocations: 33.69 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.2882, allocations: 15.48 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2882, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2882, allocations: 8.031 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2882, allocations: 0 / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2884, allocations: 169.5 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2884, allocations: 0 / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.2884, allocations: 0 / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2884, allocations: 3.938 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2884, allocations: 4 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2884, allocations: 0 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2884, allocations: 3.938 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2886, allocations: 156.3 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.2887, allocations: 89 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2887, allocations: 0 / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.2887, allocations: 4 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.2888, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2888, allocations: 4 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.2888, allocations: 106.8 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2888, allocations: 4.031 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.2891, allocations: 4 kB / 413.2 MB, free: 12.84 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.0003987/0.2895, allocations: 0.6897 MB / 413.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2896, allocations: 20.02 kB / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2896, allocations: 7.938 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.2896, allocations: 7.938 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.29, allocations: 15.58 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2911, allocations: 1.253 MB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.2914, allocations: 0.6807 MB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.864e-05/0.2914, allocations: 4 kB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.2915, allocations: 11.42 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2915, allocations: 0 / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3096, allocations: 1.38 MB / 417.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.786, allocations: 9.031 kB / 417.3 MB, free: 8.754 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