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.001794/0.001794, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2883, allocations: 50.56 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003636/0.292, allocations: 1.89 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.294, allocations: 1.22 MB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2942, allocations: 3.938 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.2947, allocations: 155.5 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.2951, allocations: 163 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.2956, allocations: 167.5 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2959, allocations: 187.5 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.296, allocations: 41.48 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2962, allocations: 79.62 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.2964, allocations: 71.69 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.2964, allocations: 8 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.2965, allocations: 55.97 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.2966, allocations: 51.77 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.2967, allocations: 71.48 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2971, allocations: 206.3 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2971, allocations: 4 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.2971, allocations: 0 / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2971, allocations: 0 / 413.2 MB, free: 13.1 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.0007895/0.2979, allocations: 0.5232 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2979, allocations: 8.031 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.298, allocations: 42.73 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.298, allocations: 20.8 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.2984, allocations: 267 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2984, allocations: 8.375 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2985, allocations: 11.94 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.2988, allocations: 138.7 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2988, allocations: 7.938 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2988, allocations: 7.938 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2988, allocations: 0 / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.2989, allocations: 35.97 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.2994, allocations: 366.3 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.2997, allocations: 111.9 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.2998, allocations: 46.56 kB / 414.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.2998, allocations: 4 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3, allocations: 83.31 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3, allocations: 0 / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003579/0.3003, allocations: 137.5 kB / 415 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3004, allocations: 136.5 kB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3007, allocations: 268.9 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3008, allocations: 29.95 kB / 415.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/0.3009, allocations: 120.1 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.3009, allocations: 23.83 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.301, allocations: 33.61 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3011, allocations: 330.8 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.3012, allocations: 16.25 kB / 415.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3013, allocations: 73.98 kB / 416 MB, free: 9.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3014, allocations: 76.23 kB / 416 MB, free: 9.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3015, allocations: 3.984 kB / 416.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002107/0.3017, allocations: 113.5 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3017, allocations: 8 kB / 416.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3017, allocations: 0 / 416.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3017, allocations: 7.984 kB / 416.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.3018, allocations: 8 kB / 416.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3018, allocations: 0 / 416.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-05/0.3019, allocations: 23.83 kB / 416.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3019, allocations: 4 kB / 416.2 MB, free: 9.711 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.0001378/0.3021, allocations: 149.9 kB / 416.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.3022, allocations: 57.59 kB / 416.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3022, allocations: 29.69 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3022, allocations: 4 kB / 416.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3022, allocations: 3.938 kB / 416.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3023, allocations: 3.938 kB / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3025, allocations: 229.5 kB / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3025, allocations: 0 / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.3025, allocations: 7.984 kB / 416.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3025, allocations: 4.062 kB / 416.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3025, allocations: 8 kB / 416.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3026, allocations: 0 / 416.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3026, allocations: 4.062 kB / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3028, allocations: 158.5 kB / 416.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.3029, allocations: 112.9 kB / 417 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.303, allocations: 8 kB / 417 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.303, allocations: 7.984 kB / 417 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3031, allocations: 7.938 kB / 417 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3031, allocations: 4 kB / 417 MB, free: 8.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3033, allocations: 204.5 kB / 417.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3033, allocations: 0 / 417.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.3036, allocations: 31.92 kB / 417.2 MB, free: 8.586 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.001929/0.3055, allocations: 1.001 MB / 418.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3058, allocations: 63.91 kB / 418.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3058, allocations: 4.25 kB / 418.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.3059, allocations: 24 kB / 418.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3063, allocations: 74.81 kB / 418.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.3086, allocations: 1.948 MB / 420.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.309, allocations: 0.728 MB / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.3091, allocations: 17.55 kB / 421.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.3092, allocations: 55.41 kB / 421.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3092, allocations: 0 / 421.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3346, allocations: 4.634 MB / 425.8 MB, free: 148 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.448, allocations: 8.047 kB / 425.8 MB, free: 140 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.1.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