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.001376/0.001376, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 198 kB / 18.73 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.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3101, allocations: 50.54 MB / 408.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003925/0.3141, allocations: 1.901 MB / 410.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3163, allocations: 1.22 MB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.3165, allocations: 3.938 kB / 411.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.3172, allocations: 143.5 kB / 412 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.3177, allocations: 159.3 kB / 412.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.3182, allocations: 179 kB / 412.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3185, allocations: 187.4 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3187, allocations: 29.56 kB / 412.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3188, allocations: 75.69 kB / 412.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.319, allocations: 79.61 kB / 412.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.319, allocations: 12 kB / 412.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3192, allocations: 51.98 kB / 412.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.3193, allocations: 43.84 kB / 412.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.3193, allocations: 83.41 kB / 412.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.3197, allocations: 202.3 kB / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3197, allocations: 0 / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3197, allocations: 0 / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3197, allocations: 0 / 413.1 MB, free: 13.27 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.0007861/0.3205, allocations: 0.5193 MB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3206, allocations: 12.03 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.3206, allocations: 46.67 kB / 413.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.3207, allocations: 24.8 kB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.3211, allocations: 263 kB / 414 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3211, allocations: 12.31 kB / 414 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3211, allocations: 7.938 kB / 414 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.3215, allocations: 146.7 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3215, allocations: 3.984 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3215, allocations: 0 / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3215, allocations: 0 / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3216, allocations: 43.91 kB / 414.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.3222, allocations: 362.3 kB / 414.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.3224, allocations: 111.9 kB / 414.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.3225, allocations: 46.56 kB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3226, allocations: 4 kB / 414.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.3227, allocations: 79.39 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3228, allocations: 0 / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003959/0.3232, allocations: 141.5 kB / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.3232, allocations: 136.5 kB / 415 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3235, allocations: 272.9 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3236, allocations: 25.7 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3237, allocations: 124 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3237, allocations: 19.89 kB / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3237, allocations: 29.92 kB / 415.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3239, allocations: 338.8 kB / 415.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3239, allocations: 12.25 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.324, allocations: 77.92 kB / 415.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.3242, allocations: 80.25 kB / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3242, allocations: 0 / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002077/0.3244, allocations: 113.5 kB / 416.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3244, allocations: 6.812 kB / 416.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3244, allocations: 0 / 416.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3245, allocations: 12.11 kB / 416.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.3246, allocations: 8 kB / 416.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3246, allocations: 7.984 kB / 416.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.3247, allocations: 19.83 kB / 416.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3247, allocations: 7.984 kB / 416.2 MB, free: 9.867 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.0001185/0.3248, allocations: 141.8 kB / 416.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.3249, allocations: 61.59 kB / 416.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.325, allocations: 29.77 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.325, allocations: 0 / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.325, allocations: 0 / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.325, allocations: 7.938 kB / 416.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3252, allocations: 225.5 kB / 416.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3252, allocations: 0 / 416.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.3252, allocations: 7.938 kB / 416.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3253, allocations: 7.938 kB / 416.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3253, allocations: 4 kB / 416.6 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3253, allocations: 4 kB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3253, allocations: 4.062 kB / 416.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.3255, allocations: 158.5 kB / 416.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.3256, allocations: 113 kB / 416.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3257, allocations: 0 / 416.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.336e-05/0.3257, allocations: 7.984 kB / 416.9 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.3258, allocations: 11.94 kB / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3258, allocations: 8 kB / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.326, allocations: 200.5 kB / 417.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.326, allocations: 0 / 417.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3263, allocations: 31.92 kB / 417.2 MB, free: 8.754 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.001463/0.3278, allocations: 1.002 MB / 418.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.328, allocations: 71.84 kB / 418.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.328, allocations: 0 / 418.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.3281, allocations: 20 kB / 418.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3285, allocations: 77.72 kB / 418.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.3308, allocations: 1.948 MB / 420.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3311, allocations: 0.7202 MB / 421 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.235e-05/0.3312, allocations: 25.55 kB / 421 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.3313, allocations: 51.41 kB / 421.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3313, allocations: 0 / 421.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.3543, allocations: 4.63 MB / 425.7 MB, free: 316 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.983, allocations: 7.094 kB / 425.7 MB, free: 312 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