Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 105.6 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.917/2.917, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 47.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4374, allocations: 49.45 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003505/0.441, allocations: 1.867 MB / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.4431, allocations: 1.145 MB / 403.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4433, allocations: 7.938 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.4437, allocations: 71.66 kB / 403.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.444, allocations: 87.58 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.4448, allocations: 267.8 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.4451, allocations: 167.5 kB / 403.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4453, allocations: 33.55 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4454, allocations: 71.69 kB / 403.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4455, allocations: 87.55 kB / 404 MB, free: 5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.4455, allocations: 8 kB / 404 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.4457, allocations: 59.97 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.4458, allocations: 55.81 kB / 404.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.402e-05/0.4459, allocations: 71.48 kB / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.4463, allocations: 236.9 kB / 404.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.4463, allocations: 0 / 404.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4463, allocations: 0 / 404.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4463, allocations: 0 / 404.4 MB, free: 4.578 MB / 318.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.0008038/0.4471, allocations: 0.5351 MB / 405 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4472, allocations: 8.031 kB / 405 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.4472, allocations: 42.69 kB / 405 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.4473, allocations: 24.66 kB / 405.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.4478, allocations: 283.6 kB / 405.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.4478, allocations: 8.375 kB / 405.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.4479, allocations: 15.92 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.4482, allocations: 154.2 kB / 405.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4483, allocations: 0 / 405.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4483, allocations: 7.984 kB / 405.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4483, allocations: 4 kB / 405.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4484, allocations: 35.92 kB / 405.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.449, allocations: 378.4 kB / 405.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.4492, allocations: 115.9 kB / 406 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.4493, allocations: 50.55 kB / 406.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4494, allocations: 4.062 kB / 406.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.4496, allocations: 83.33 kB / 406.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.4496, allocations: 0 / 406.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004107/0.45, allocations: 153.3 kB / 406.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.4501, allocations: 162.2 kB / 406.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4504, allocations: 326.6 kB / 406.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4505, allocations: 29.95 kB / 406.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.4506, allocations: 132 kB / 407 MB, free: 1.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4506, allocations: 19.75 kB / 407 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.4507, allocations: 33.7 kB / 407 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4508, allocations: 334.8 kB / 407.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.4509, allocations: 20 kB / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.451, allocations: 98.72 kB / 407.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4511, allocations: 84.22 kB / 407.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4512, allocations: 0 / 407.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.4514, allocations: 129.3 kB / 407.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4514, allocations: 4 kB / 407.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4514, allocations: 0 / 407.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4515, allocations: 7.938 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4516, allocations: 15.98 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4516, allocations: 4 kB / 407.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.4517, allocations: 15.84 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.4517, allocations: 4 kB / 407.7 MB, free: 0.957 MB / 318.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.0001437/0.4518, allocations: 157.9 kB / 407.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.4519, allocations: 65.41 kB / 407.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.452, allocations: 25.7 kB / 408 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.452, allocations: 4 kB / 408 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.452, allocations: 0 / 408 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.452, allocations: 3.938 kB / 408 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4522, allocations: 237.8 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4522, allocations: 4 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.4523, allocations: 19.92 kB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4523, allocations: 4.062 kB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4523, allocations: 8 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4524, allocations: 0 / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4524, allocations: 0 / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.4526, allocations: 166.4 kB / 408.4 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4527, allocations: 112.9 kB / 408.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.4528, allocations: 4 kB / 408.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.4528, allocations: 4 kB / 408.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.4529, allocations: 19.86 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.453, allocations: 4 kB / 408.5 MB, free: 24 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.4532, allocations: 241.9 kB / 408.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4532, allocations: 0 / 408.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.4535, allocations: 28 kB / 408.8 MB, free: 15.76 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.001455/0.455, allocations: 1.015 MB / 409.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.4552, allocations: 76.03 kB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4552, allocations: 4.062 kB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.4553, allocations: 27.98 kB / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.4558, allocations: 76.91 kB / 410 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.4588, allocations: 2.188 MB / 412.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4592, allocations: 0.7436 MB / 412.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.4593, allocations: 25.53 kB / 412.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.4594, allocations: 55.42 kB / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4594, allocations: 0 / 413 MB, free: 11.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.4849, allocations: 5.287 MB / 418.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.601/10.09, allocations: 8.625 kB / 418.3 MB, free: 6.391 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches