Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 105.8 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.001141, allocations: 205.8 kB / 18.14 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.001189, allocations: 57.97 kB / 306.4 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003917/0.1373, allocations: 1.916 MB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1392, allocations: 0.744 MB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1395, allocations: 4 kB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1398, allocations: 19.8 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.14, allocations: 19.84 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/0.1408, allocations: 151.5 kB / 359.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.1411, allocations: 147.5 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.1413, allocations: 57.52 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1415, allocations: 47.78 kB / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1417, allocations: 59.69 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1418, allocations: 11.94 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1419, allocations: 47.95 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.142, allocations: 35.84 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.1421, allocations: 59.59 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.1424, allocations: 199.3 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1425, allocations: 0 / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1425, allocations: 0 / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1425, allocations: 0 / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008694/0.1434, allocations: 479.1 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1434, allocations: 12.03 kB / 360.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.192e-05/0.1435, allocations: 42.67 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1437, allocations: 32.64 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1441, allocations: 239.9 kB / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1441, allocations: 8.547 kB / 361.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1441, allocations: 15.94 kB / 361.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.1449, allocations: 338.8 kB / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1449, allocations: 0 / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1449, allocations: 0 / 361.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1449, allocations: 3.938 kB / 361.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.1452, allocations: 83.94 kB / 361.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.1456, allocations: 349.5 kB / 362 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.1462, allocations: 258.2 kB / 362.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1464, allocations: 97.95 kB / 362.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007846/0.1472, allocations: 0.5934 MB / 362.9 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1472, allocations: 30.56 kB / 362.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.1472, allocations: 4 kB / 362.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005634/0.1478, allocations: 241.2 kB / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1479, allocations: 114.7 kB / 363.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1481, allocations: 195.2 kB / 363.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1482, allocations: 37.64 kB / 363.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1483, allocations: 100.6 kB / 363.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1483, allocations: 15.89 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.1484, allocations: 37.84 kB / 363.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1485, allocations: 330.8 kB / 364 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.1486, allocations: 43.97 kB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1488, allocations: 164.5 kB / 364.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.1491, allocations: 204.1 kB / 364.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.1491, allocations: 4 kB / 364.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003324/0.1495, allocations: 217.6 kB / 364.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1495, allocations: 10.44 kB / 364.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1495, allocations: 4 kB / 364.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1495, allocations: 8 kB / 364.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1497, allocations: 43.92 kB / 364.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1497, allocations: 11.92 kB / 364.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1498, allocations: 15.84 kB / 364.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1499, allocations: 16 kB / 364.7 MB, free: 6.008 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001715/0.15, allocations: 149.7 kB / 364.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.1504, allocations: 165.2 kB / 365 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.1508, allocations: 187.3 kB / 365.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1508, allocations: 4 kB / 365.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1508, allocations: 0 / 365.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1508, allocations: 3.984 kB / 365.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.1511, allocations: 229.4 kB / 365.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1511, allocations: 8 kB / 365.4 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1513, allocations: 31.97 kB / 365.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1513, allocations: 0 / 365.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1513, allocations: 8 kB / 365.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1513, allocations: 0 / 365.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1513, allocations: 0 / 365.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1518, allocations: 299.9 kB / 365.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1519, allocations: 108.8 kB / 365.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.1519, allocations: 11.98 kB / 365.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1521, allocations: 8 kB / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1521, allocations: 3.984 kB / 365.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1521, allocations: 8 kB / 365.9 MB, free: 4.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1523, allocations: 143.2 kB / 366.1 MB, free: 4.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 0 / 366.1 MB, free: 4.559 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1526, allocations: 32 kB / 366.1 MB, free: 4.527 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0009532/0.1536, allocations: 0.9306 MB / 367 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1539, allocations: 139.7 kB / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1539, allocations: 5.188 kB / 367.2 MB, free: 3.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.154, allocations: 7.984 kB / 367.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1546, allocations: 145.7 kB / 367.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1563, allocations: 1.086 MB / 368.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1567, allocations: 0.7403 MB / 369.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.1567, allocations: 9.562 kB / 369.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.1568, allocations: 51.41 kB / 369.2 MB, free: 1.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1568, allocations: 3.938 kB / 369.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2227/0.3795, allocations: 3.905 MB / 373.1 MB, free: 19.44 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.3798, allocations: 225.5 kB / 373.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.262, allocations: 0 / 373.3 MB, free: 19.18 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches