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.001587/0.001587, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3207, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003498/0.3242, allocations: 1.89 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3266, allocations: 1.301 MB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3267, allocations: 0 / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.3271, allocations: 75.66 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.3275, allocations: 127.4 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.3282, allocations: 231.3 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.3284, allocations: 179.5 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3285, allocations: 33.55 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3287, allocations: 71.69 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3288, allocations: 83.61 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3288, allocations: 12 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.329, allocations: 63.97 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.3291, allocations: 51.77 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.3292, allocations: 75.48 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.3296, allocations: 252.8 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3296, allocations: 0 / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3296, allocations: 0 / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3296, allocations: 0 / 413.2 MB, free: 13.12 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.0008576/0.3305, allocations: 0.535 MB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3306, allocations: 12.03 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.3306, allocations: 42.73 kB / 413.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3307, allocations: 20.66 kB / 413.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.3311, allocations: 295.5 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3312, allocations: 4.375 kB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3312, allocations: 11.94 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.3316, allocations: 159 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3316, allocations: 0 / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3316, allocations: 3.984 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3316, allocations: 0 / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.3317, allocations: 43.91 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.3323, allocations: 386.4 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3325, allocations: 119.8 kB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3326, allocations: 50.55 kB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3327, allocations: 0 / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3328, allocations: 79.39 kB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3328, allocations: 0 / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003945/0.3332, allocations: 157.2 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.3333, allocations: 162.2 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.3338, allocations: 342.5 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3338, allocations: 33.64 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.334, allocations: 124.1 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.334, allocations: 23.73 kB / 415.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.3341, allocations: 29.97 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3342, allocations: 334.8 kB / 416.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.3343, allocations: 23.98 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3344, allocations: 86.78 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3346, allocations: 88.22 kB / 416.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3346, allocations: 0 / 416.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.3348, allocations: 117.3 kB / 416.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3349, allocations: 11.09 kB / 416.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3349, allocations: 4 kB / 416.4 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3349, allocations: 4 kB / 416.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.335, allocations: 19.92 kB / 416.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.3351, allocations: 4 kB / 416.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3352, allocations: 11.94 kB / 416.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3352, allocations: 4 kB / 416.4 MB, free: 9.484 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.0001418/0.3353, allocations: 161.8 kB / 416.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.3354, allocations: 69.36 kB / 416.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.3355, allocations: 25.7 kB / 416.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3355, allocations: 4 kB / 416.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3355, allocations: 3.984 kB / 416.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3355, allocations: 4.25 kB / 416.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3357, allocations: 237.5 kB / 416.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.3358, allocations: 8 kB / 417 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.3359, allocations: 19.86 kB / 417 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3359, allocations: 0 / 417 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3359, allocations: 4 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3359, allocations: 64 / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3359, allocations: 4 kB / 417 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3362, allocations: 170.3 kB / 417.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3363, allocations: 116.8 kB / 417.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3363, allocations: 4 kB / 417.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.3364, allocations: 4 kB / 417.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3364, allocations: 15.92 kB / 417.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3364, allocations: 4 kB / 417.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.3367, allocations: 253.9 kB / 417.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3367, allocations: 0 / 417.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.337, allocations: 36 kB / 417.6 MB, free: 8.254 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.00142/0.3384, allocations: 1.005 MB / 418.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3386, allocations: 71.84 kB / 418.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3387, allocations: 0 / 418.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.3387, allocations: 35.92 kB / 418.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3392, allocations: 76.86 kB / 418.8 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.3417, allocations: 2.22 MB / 421 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.342, allocations: 0.7475 MB / 421.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.684e-05/0.3421, allocations: 29.52 kB / 421.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3423, allocations: 55.42 kB / 421.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3423, allocations: 0 / 421.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.3652, allocations: 5.366 MB / 427.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.056, allocations: 10.94 kB / 427.2 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 & /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.0.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