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.00151/0.001509, allocations: 117.6 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.002013/0.002013, allocations: 204.7 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.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 55.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 50.53 MB / 408.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003354/0.2967, allocations: 1.916 MB / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2987, allocations: 1.223 MB / 411.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2989, allocations: 0 / 411.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.2995, allocations: 143.5 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.2999, allocations: 159.4 kB / 412.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.3004, allocations: 183.4 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3006, allocations: 179.6 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3007, allocations: 41.41 kB / 412.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3009, allocations: 75.69 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.301, allocations: 67.7 kB / 412.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.301, allocations: 12 kB / 412.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3012, allocations: 63.89 kB / 412.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.3012, allocations: 43.84 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.3013, allocations: 75.48 kB / 412.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.3017, allocations: 206.3 kB / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3017, allocations: 0 / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3017, allocations: 0 / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3017, allocations: 0 / 413.1 MB, free: 13.25 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.0008047/0.3025, allocations: 0.5231 MB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3026, allocations: 12.03 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.3026, allocations: 38.73 kB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.3027, allocations: 28.8 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3031, allocations: 267 kB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3031, allocations: 4.375 kB / 414 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3031, allocations: 15.81 kB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3035, allocations: 146.7 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3035, allocations: 0 / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3035, allocations: 8 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3035, allocations: 0 / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3036, allocations: 31.98 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.3042, allocations: 366.3 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3044, allocations: 111.9 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.3045, allocations: 46.56 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.3045, allocations: 4 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3047, allocations: 75.33 kB / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3047, allocations: 0 / 414.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004729/0.3052, allocations: 141.7 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3053, allocations: 144.4 kB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.3057, allocations: 272.9 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3058, allocations: 29.7 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.3059, allocations: 112.1 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3059, allocations: 23.91 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.306, allocations: 33.66 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3061, allocations: 338.8 kB / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.3062, allocations: 16 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.3062, allocations: 66 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3064, allocations: 76.25 kB / 416 MB, free: 10.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3064, allocations: 0 / 416 MB, free: 10.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001989/0.3066, allocations: 117.5 kB / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3066, allocations: 4 kB / 416.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3067, allocations: 0 / 416.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3067, allocations: 4 kB / 416.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.3068, allocations: 20.11 kB / 416.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3068, allocations: 4 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.3069, allocations: 20.08 kB / 416.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.3069, allocations: 4 kB / 416.2 MB, free: 9.848 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.0001197/0.307, allocations: 149.8 kB / 416.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.3071, allocations: 65.53 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.3072, allocations: 25.7 kB / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3072, allocations: 4.062 kB / 416.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3072, allocations: 0 / 416.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3072, allocations: 7.938 kB / 416.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3074, allocations: 221.5 kB / 416.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3074, allocations: 0 / 416.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.3074, allocations: 7.984 kB / 416.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3074, allocations: 4 kB / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3075, allocations: 7.938 kB / 416.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3075, allocations: 0 / 416.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3075, allocations: 4 kB / 416.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.3077, allocations: 158.6 kB / 416.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.3078, allocations: 116.9 kB / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3078, allocations: 0 / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.3079, allocations: 11.98 kB / 416.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.308, allocations: 7.938 kB / 416.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.308, allocations: 4 kB / 416.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.3082, allocations: 204.5 kB / 417.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.733e-06/0.3082, allocations: 0 / 417.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3084, allocations: 35.88 kB / 417.2 MB, free: 8.723 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.3098, allocations: 0.9897 MB / 418.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3101, allocations: 63.91 kB / 418.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3101, allocations: 4 kB / 418.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.3102, allocations: 27.92 kB / 418.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.3106, allocations: 86.48 kB / 418.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.3126, allocations: 1.945 MB / 420.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3129, allocations: 0.728 MB / 421 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.313, allocations: 29.8 kB / 421 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.313, allocations: 43.42 kB / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.313, allocations: 0 / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.3534, allocations: 4.625 MB / 425.7 MB, free: 288 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.082, allocations: 11.09 kB / 425.7 MB, free: 280 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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