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.001807/0.001807, 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.002137/0.002137, allocations: 201.2 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.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 63.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2924, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003302/0.2958, allocations: 1.902 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2978, allocations: 1.216 MB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.298, allocations: 3.938 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.2986, allocations: 151 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.2991, allocations: 159.4 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.2996, allocations: 167.5 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.2998, allocations: 195.4 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2999, allocations: 37.52 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3001, allocations: 71.64 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3002, allocations: 71.69 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3002, allocations: 8 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3004, allocations: 67.95 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.3005, allocations: 47.78 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.3005, allocations: 67.48 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.3008, allocations: 213 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.3008, allocations: 7.922 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3009, allocations: 0 / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3009, allocations: 0 / 413.1 MB, free: 13.16 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.0007368/0.3016, allocations: 0.5117 MB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3017, allocations: 8.031 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.3017, allocations: 42.75 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.3018, allocations: 16.75 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3022, allocations: 274.7 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3022, allocations: 8.375 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3022, allocations: 11.94 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.3026, allocations: 150.7 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3026, allocations: 4 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3027, allocations: 0 / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3027, allocations: 0 / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3028, allocations: 27.98 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.3034, allocations: 362.4 kB / 414.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.3037, allocations: 103.9 kB / 414.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.3038, allocations: 54.56 kB / 414.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3038, allocations: 7.984 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.304, allocations: 75.23 kB / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.644e-06/0.304, allocations: 0 / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000396/0.3044, allocations: 141.6 kB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.3045, allocations: 132.5 kB / 415 MB, free: 10.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.3048, allocations: 272.9 kB / 415.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3049, allocations: 29.7 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.305, allocations: 131.9 kB / 415.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.305, allocations: 15.89 kB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.3051, allocations: 25.7 kB / 415.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3052, allocations: 330.9 kB / 415.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.3053, allocations: 23.98 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.3054, allocations: 65.98 kB / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3055, allocations: 84.25 kB / 416 MB, free: 9.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3055, allocations: 0 / 416 MB, free: 9.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002048/0.3057, allocations: 113.6 kB / 416.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3058, allocations: 8 kB / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3058, allocations: 4.062 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3058, allocations: 4.125 kB / 416.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.3059, allocations: 12 kB / 416.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3059, allocations: 4 kB / 416.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.306, allocations: 15.86 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.306, allocations: 8 kB / 416.1 MB, free: 9.785 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.0001229/0.3061, allocations: 149.7 kB / 416.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.3062, allocations: 61.36 kB / 416.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.3063, allocations: 29.62 kB / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3063, allocations: 8.062 kB / 416.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3063, allocations: 0 / 416.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3063, allocations: 3.938 kB / 416.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3065, allocations: 229.6 kB / 416.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3065, allocations: 0 / 416.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.3065, allocations: 4 kB / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3065, allocations: 0 / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3066, allocations: 7.984 kB / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3066, allocations: 0 / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3066, allocations: 0 / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3068, allocations: 166.4 kB / 416.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.3069, allocations: 108.8 kB / 416.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.307, allocations: 11.98 kB / 416.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.307, allocations: 4 kB / 416.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.3071, allocations: 7.922 kB / 416.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3071, allocations: 4 kB / 416.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3073, allocations: 208.5 kB / 417.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3073, allocations: 0 / 417.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3075, allocations: 28 kB / 417.1 MB, free: 8.664 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.001323/0.3089, allocations: 1.005 MB / 418.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3091, allocations: 63.91 kB / 418.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3091, allocations: 0 / 418.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.3092, allocations: 27.98 kB / 418.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3096, allocations: 68.64 kB / 418.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3117, allocations: 1.957 MB / 420.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.312, allocations: 0.728 MB / 421 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.717e-05/0.3121, allocations: 25.53 kB / 421 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.3122, allocations: 47.42 kB / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3122, allocations: 0 / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3345, allocations: 4.678 MB / 425.7 MB, free: 168 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.017, allocations: 5.656 kB / 425.7 MB, free: 168 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