Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 50.54 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003169/0.298, allocations: 1.899 MB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2999, allocations: 1.216 MB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3, allocations: 4 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.3006, allocations: 155 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.301, allocations: 151.4 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3015, allocations: 183.4 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3018, allocations: 183.5 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3019, allocations: 37.48 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.302, allocations: 75.69 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3021, allocations: 67.7 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3022, allocations: 8 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3023, allocations: 63.89 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.3024, allocations: 39.84 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.3024, allocations: 75.48 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.3027, allocations: 209 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3027, allocations: 0 / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3028, allocations: 8 kB / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3028, allocations: 3.938 kB / 413.1 MB, free: 13.14 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.0006988/0.3035, allocations: 0.5117 MB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3035, allocations: 8.031 kB / 413.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3036, allocations: 42.73 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.3036, allocations: 16.75 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3039, allocations: 274.8 kB / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.304, allocations: 12.31 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.304, allocations: 11.92 kB / 414 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3043, allocations: 142.7 kB / 414.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3043, allocations: 0 / 414.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3043, allocations: 12 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3044, allocations: 0 / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3045, allocations: 35.91 kB / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.3049, allocations: 350.5 kB / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3052, allocations: 115.9 kB / 414.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/0.3053, allocations: 46.56 kB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3053, allocations: 0 / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3054, allocations: 87.23 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3055, allocations: 0 / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003302/0.3058, allocations: 133.4 kB / 414.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.3059, allocations: 140.4 kB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3061, allocations: 277.2 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3062, allocations: 29.7 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.3063, allocations: 120 kB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3063, allocations: 23.8 kB / 415.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3064, allocations: 29.72 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3065, allocations: 330.8 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.3066, allocations: 16 kB / 415.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3067, allocations: 73.98 kB / 415.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3068, allocations: 68.23 kB / 415.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3068, allocations: 4 kB / 415.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.307, allocations: 117.4 kB / 416.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.307, allocations: 8 kB / 416.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3071, allocations: 0 / 416.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3071, allocations: 0 / 416.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.3072, allocations: 15.98 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3072, allocations: 3.938 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.3072, allocations: 15.88 kB / 416.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3073, allocations: 4.125 kB / 416.1 MB, free: 9.773 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,table.y,superSample1.y,superSample1.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.000111/0.3074, allocations: 154.1 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.3075, allocations: 69.34 kB / 416.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.3075, allocations: 25.7 kB / 416.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3075, allocations: 4 kB / 416.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3075, allocations: 0 / 416.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3076, allocations: 3.938 kB / 416.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3077, allocations: 225.6 kB / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3078, allocations: 64 / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.3078, allocations: 8 kB / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3078, allocations: 0 / 416.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3078, allocations: 8 kB / 416.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3078, allocations: 3.938 kB / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3078, allocations: 0 / 416.6 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3081, allocations: 162.4 kB / 416.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.3082, allocations: 112.8 kB / 416.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.3082, allocations: 4 kB / 416.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.3083, allocations: 3.984 kB / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3083, allocations: 11.94 kB / 416.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3083, allocations: 4 kB / 416.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3085, allocations: 208.4 kB / 417.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3085, allocations: 0 / 417.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3088, allocations: 31.98 kB / 417.1 MB, free: 8.645 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001411/0.3102, allocations: 0.9998 MB / 418.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3105, allocations: 63.92 kB / 418.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3105, allocations: 0 / 418.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.3106, allocations: 31.92 kB / 418.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3111, allocations: 67.42 kB / 418.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.3135, allocations: 1.953 MB / 420.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.314, allocations: 0.7241 MB / 421 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3141, allocations: 25.78 kB / 421 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.3142, allocations: 47.42 kB / 421 MB, free: 4.699 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3142, allocations: 0 / 421 MB, free: 4.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3386, allocations: 4.688 MB / 425.7 MB, free: 152 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.979, allocations: 7.062 kB / 425.7 MB, free: 148 kB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches