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.001908/0.001908, allocations: 121.6 kB / 17.79 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.002046/0.002046, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2788, allocations: 50.55 MB / 408.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003267/0.2821, allocations: 1.887 MB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2842, allocations: 1.297 MB / 412 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2843, allocations: 3.938 kB / 412 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.2846, allocations: 75.66 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.285, allocations: 127.4 kB / 412.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.2856, allocations: 230.9 kB / 412.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2859, allocations: 183.5 kB / 412.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.286, allocations: 33.53 kB / 412.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2861, allocations: 75.69 kB / 412.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2862, allocations: 79.67 kB / 412.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.2863, allocations: 8 kB / 412.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2865, allocations: 67.91 kB / 412.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.2865, allocations: 51.83 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.2866, allocations: 79.42 kB / 413 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.287, allocations: 245.9 kB / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.287, allocations: 0 / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.287, allocations: 0 / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.287, allocations: 0 / 413.2 MB, free: 13.17 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.0007535/0.2878, allocations: 0.5465 MB / 413.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2878, allocations: 12.03 kB / 413.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.2879, allocations: 38.73 kB / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.2879, allocations: 24.8 kB / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.2884, allocations: 295.8 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2884, allocations: 8.312 kB / 414.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2884, allocations: 15.94 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.2888, allocations: 155.6 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2888, allocations: 0 / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2888, allocations: 4 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2888, allocations: 4 kB / 414.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.2889, allocations: 39.91 kB / 414.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.2895, allocations: 382.3 kB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.2897, allocations: 115.9 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.2898, allocations: 50.5 kB / 414.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2899, allocations: 12.05 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.2901, allocations: 75.39 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2901, allocations: 0 / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004095/0.2905, allocations: 157.4 kB / 415.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.961e-05/0.2906, allocations: 158.2 kB / 415.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.291, allocations: 342.6 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.291, allocations: 25.95 kB / 415.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2911, allocations: 140 kB / 415.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.2912, allocations: 15.89 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.2912, allocations: 29.72 kB / 415.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2914, allocations: 334.8 kB / 416.2 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.2915, allocations: 23.98 kB / 416.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.2916, allocations: 86.84 kB / 416.3 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2918, allocations: 84.16 kB / 416.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2918, allocations: 0 / 416.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002464/0.292, allocations: 125.8 kB / 416.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.292, allocations: 4 kB / 416.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.292, allocations: 8 kB / 416.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2921, allocations: 0 / 416.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2922, allocations: 23.92 kB / 416.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2922, allocations: 0 / 416.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.2923, allocations: 15.88 kB / 416.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2923, allocations: 4 kB / 416.5 MB, free: 9.508 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.0001486/0.2924, allocations: 157.9 kB / 416.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.2925, allocations: 73.45 kB / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.2926, allocations: 25.7 kB / 416.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2926, allocations: 0 / 416.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2926, allocations: 4 kB / 416.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2926, allocations: 7.922 kB / 416.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.2929, allocations: 237.6 kB / 417 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2929, allocations: 0 / 417 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.293, allocations: 15.98 kB / 417 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.293, allocations: 11.98 kB / 417.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.293, allocations: 3.984 kB / 417.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.293, allocations: 7.938 kB / 417.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.293, allocations: 0 / 417.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2933, allocations: 166.5 kB / 417.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2934, allocations: 116.9 kB / 417.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2935, allocations: 4 kB / 417.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.2935, allocations: 4 kB / 417.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.2936, allocations: 15.92 kB / 417.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2936, allocations: 4 kB / 417.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.2939, allocations: 253.9 kB / 417.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2939, allocations: 0 / 417.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.2942, allocations: 31.94 kB / 417.7 MB, free: 8.281 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.001963/0.2961, allocations: 1.012 MB / 418.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.2964, allocations: 67.91 kB / 418.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2964, allocations: 8.188 kB / 418.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.2965, allocations: 27.98 kB / 418.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2969, allocations: 84.41 kB / 418.9 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.2995, allocations: 2.223 MB / 421.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.2999, allocations: 0.7397 MB / 421.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.3, allocations: 25.53 kB / 421.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3001, allocations: 59.42 kB / 421.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3001, allocations: 0 / 421.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.3268, allocations: 5.303 MB / 427.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.579, allocations: 9.312 kB / 427.2 MB, free: 14.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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