Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.4 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.73 kB / 306.6 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 50.53 MB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003016/0.1293, allocations: 1.617 MB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004442/0.1298, allocations: 143.5 kB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.1299, allocations: 4 kB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.13, allocations: 3.938 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.1301, allocations: 0 / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1304, allocations: 39.91 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.1305, allocations: 31.86 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1306, allocations: 19.97 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1307, allocations: 19.92 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.1307, allocations: 15.92 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1308, allocations: 4 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.1308, allocations: 4 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1308, allocations: 15.92 kB / 359 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1309, allocations: 19.81 kB / 359 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.131, allocations: 43.81 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.131, allocations: 4 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.131, allocations: 0 / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.131, allocations: 0 / 359.1 MB, free: 12.06 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005005/0.1315, allocations: 375.4 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1316, allocations: 8.031 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1316, allocations: 38.73 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.1317, allocations: 8.844 kB / 359.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1319, allocations: 192.1 kB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1319, allocations: 384 / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1319, allocations: 4.375 kB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.1322, allocations: 113.6 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1323, allocations: 7.875 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1323, allocations: 0 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1323, allocations: 0 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.1324, allocations: 19.98 kB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.1327, allocations: 265.8 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.133, allocations: 138.2 kB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.1331, allocations: 33.77 kB / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1331, allocations: 0 / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1331, allocations: 38.5 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1331, allocations: 0 / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.1334, allocations: 73.58 kB / 360.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1335, allocations: 85.03 kB / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1336, allocations: 136.5 kB / 360.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1336, allocations: 25.83 kB / 360.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.1337, allocations: 88.14 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.1337, allocations: 11.92 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.1337, allocations: 21.62 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1339, allocations: 314.8 kB / 361 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.1339, allocations: 8 kB / 361 MB, free: 9.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.134, allocations: 31.61 kB / 361.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.791e-05/0.1341, allocations: 47.36 kB / 361.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1341, allocations: 3.938 kB / 361.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.1342, allocations: 73.73 kB / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1342, allocations: 4 kB / 361.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1342, allocations: 7.984 kB / 361.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1343, allocations: 0 / 361.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.1343, allocations: 11.94 kB / 361.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1343, allocations: 0 / 361.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.1344, allocations: 11.92 kB / 361.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1344, allocations: 0 / 361.2 MB, free: 9.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.894e-05/0.1345, allocations: 126.8 kB / 361.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.1346, allocations: 49.69 kB / 361.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.1346, allocations: 12.25 kB / 361.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1346, allocations: 0 / 361.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.1346, allocations: 8 kB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1346, allocations: 0 / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1348, allocations: 169.6 kB / 361.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1348, allocations: 0 / 361.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.1349, allocations: 15.92 kB / 361.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1349, allocations: 0 / 361.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1349, allocations: 3.938 kB / 361.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1349, allocations: 8 kB / 361.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1349, allocations: 0 / 361.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1351, allocations: 168.2 kB / 361.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1352, allocations: 97 kB / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1352, allocations: 0 / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.1353, allocations: 0 / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.1353, allocations: 8 kB / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1353, allocations: 0 / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.1354, allocations: 113.6 kB / 362 MB, free: 8.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1354, allocations: 0 / 362 MB, free: 8.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1356, allocations: 4 kB / 362 MB, free: 8.719 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004861/0.1361, allocations: 0.6976 MB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1363, allocations: 31.92 kB / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1363, allocations: 0 / 362.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.1363, allocations: 7.984 kB / 362.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1367, allocations: 19.97 kB / 362.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.138, allocations: 1.338 MB / 364.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1383, allocations: 0.6885 MB / 364.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.1383, allocations: 8.406 kB / 364.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.1384, allocations: 11.44 kB / 364.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1384, allocations: 0 / 364.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.1499, allocations: 1.363 MB / 366.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.1502, allocations: 211 kB / 366.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.196, allocations: 0 / 366.4 MB, free: 4.262 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches