Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001311/0.001311, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 199.9 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.5/1.5, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.88 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003585/0.2807, allocations: 1.89 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.2833, allocations: 1.294 MB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2835, allocations: 7.938 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.2838, allocations: 71.67 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.2842, allocations: 131.4 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.2849, allocations: 226.9 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.2852, allocations: 183.5 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2854, allocations: 25.55 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2855, allocations: 71.7 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2857, allocations: 83.67 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2857, allocations: 8 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.286, allocations: 71.89 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2861, allocations: 51.83 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2863, allocations: 83.41 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.2868, allocations: 241.9 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2868, allocations: 0 / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2868, allocations: 3.938 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.2869, allocations: 0 / 413.2 MB, free: 13.09 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.001242/0.2881, allocations: 0.5426 MB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2882, allocations: 12.03 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.2882, allocations: 38.73 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.2883, allocations: 24.8 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.289, allocations: 295.7 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.289, allocations: 4.375 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.2891, allocations: 11.92 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.2896, allocations: 159.6 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2896, allocations: 3.984 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2897, allocations: 11.98 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2897, allocations: 0 / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2899, allocations: 31.92 kB / 414.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000794/0.2907, allocations: 390.3 kB / 414.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.2912, allocations: 119.9 kB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2914, allocations: 50.5 kB / 414.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.2914, allocations: 4 kB / 414.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.2918, allocations: 75.38 kB / 414.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.2918, allocations: 4 kB / 414.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006631/0.2925, allocations: 149.5 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.2927, allocations: 162.1 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.2934, allocations: 338.6 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.2934, allocations: 29.7 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.2936, allocations: 136.3 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.2937, allocations: 23.89 kB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.2938, allocations: 33.7 kB / 415.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.294, allocations: 326.8 kB / 416.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2942, allocations: 23.98 kB / 416.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2944, allocations: 86.84 kB / 416.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.2947, allocations: 84.22 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2947, allocations: 0 / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003943/0.2951, allocations: 129.5 kB / 416.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2951, allocations: 4 kB / 416.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2952, allocations: 4 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2952, allocations: 0 / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2954, allocations: 23.92 kB / 416.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2955, allocations: 320 / 416.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2956, allocations: 19.86 kB / 416.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2957, allocations: 8 kB / 416.5 MB, free: 9.422 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.0002344/0.2959, allocations: 149.8 kB / 416.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.2961, allocations: 77.47 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-05/0.2962, allocations: 33.64 kB / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2962, allocations: 0 / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2962, allocations: 0 / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2963, allocations: 7.938 kB / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.2967, allocations: 237.6 kB / 417 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2967, allocations: 0 / 417 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.2968, allocations: 11.98 kB / 417 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2968, allocations: 7.938 kB / 417 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2968, allocations: 64 / 417 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2969, allocations: 8 kB / 417 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2969, allocations: 3.938 kB / 417 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.2973, allocations: 162.5 kB / 417.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.2975, allocations: 120.9 kB / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2976, allocations: 0 / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2977, allocations: 8 kB / 417.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.2978, allocations: 15.92 kB / 417.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2979, allocations: 4 kB / 417.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.2983, allocations: 249.9 kB / 417.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2983, allocations: 0 / 417.5 MB, free: 8.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.2988, allocations: 31.94 kB / 417.6 MB, free: 8.207 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.003034/0.3018, allocations: 1.029 MB / 418.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.3022, allocations: 67.91 kB / 418.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3023, allocations: 0 / 418.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3024, allocations: 36.17 kB / 418.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.3031, allocations: 78.45 kB / 418.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.3077, allocations: 2.216 MB / 421 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.3083, allocations: 0.7475 MB / 421.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.3085, allocations: 25.8 kB / 421.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.3087, allocations: 63.41 kB / 421.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3087, allocations: 0 / 421.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.345, allocations: 5.301 MB / 427.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.509, allocations: 4.062 kB / 427.1 MB, free: 14.73 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches