Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002134/0.002134, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 68.77 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1271, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003019/0.1302, allocations: 1.554 MB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1311, allocations: 0.5275 MB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1312, allocations: 3.938 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.1312, allocations: 3.938 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1314, allocations: 15.86 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1317, allocations: 59.81 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.1318, allocations: 43.8 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.1319, allocations: 15.97 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.132, allocations: 19.94 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.132, allocations: 19.86 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.132, allocations: 4 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.1321, allocations: 7.984 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1321, allocations: 11.98 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.1322, allocations: 23.81 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1323, allocations: 59.8 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1323, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1323, allocations: 0 / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1323, allocations: 3.938 kB / 360.8 MB, free: 11.54 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004675/0.1328, allocations: 375.3 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1329, allocations: 8.031 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.133, allocations: 20.83 kB / 361.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1332, allocations: 187 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-06/0.1332, allocations: 384 / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1332, allocations: 8.375 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1335, allocations: 93.34 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1335, allocations: 0 / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1335, allocations: 0 / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1335, allocations: 4 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.1336, allocations: 27.91 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.1339, allocations: 265.7 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.134, allocations: 41.22 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.1341, allocations: 25.7 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1341, allocations: 0 / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1341, allocations: 34.56 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1341, allocations: 0 / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.1344, allocations: 65.61 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.1344, allocations: 85.36 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1346, allocations: 134.2 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1346, allocations: 25.7 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1347, allocations: 92.12 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.1347, allocations: 3.906 kB / 362.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1347, allocations: 17.72 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1349, allocations: 318.8 kB / 362.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.1349, allocations: 8 kB / 362.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.135, allocations: 25.64 kB / 362.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.135, allocations: 29.59 kB / 362.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1351, allocations: 3.938 kB / 362.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.1352, allocations: 69.58 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1352, allocations: 4 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1352, allocations: 0 / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1352, allocations: 0 / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.1353, allocations: 4 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1353, allocations: 4 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.1354, allocations: 7.922 kB / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1354, allocations: 0 / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.902e-05/0.1355, allocations: 121.8 kB / 362.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.1355, allocations: 41.66 kB / 362.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.1356, allocations: 15.83 kB / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1356, allocations: 0 / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1356, allocations: 4 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1356, allocations: 0 / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1358, allocations: 173.6 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1358, allocations: 3.938 kB / 363.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.1358, allocations: 11.98 kB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1359, allocations: 4 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1359, allocations: 0 / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1359, allocations: 4.031 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1359, allocations: 0 / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1361, allocations: 164.3 kB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.1361, allocations: 85.09 kB / 363.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1362, allocations: 0 / 363.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1362, allocations: 12.02 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.1363, allocations: 0 / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1363, allocations: 0 / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.623e-05/0.1364, allocations: 121.4 kB / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 363.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1366, allocations: 4 kB / 363.5 MB, free: 8.473 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 (2): * Single equations (assignments): 2 * 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 9.314e-05/0.1367, allocations: 95.25 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1368, allocations: 24.05 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1368, allocations: 0 / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.1369, allocations: 15.92 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1372, allocations: 19.91 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.1376, allocations: 189.3 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1379, allocations: 0.6924 MB / 364.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.1379, allocations: 15.38 kB / 364.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1379, allocations: 0 / 364.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Templates: time 0.002206/0.1401, allocations: 0.6979 MB / 365.2 MB, free: 6.664 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches