Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 105.3 kB / 16.45 MB, free: 6.426 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.002046/0.002046, allocations: 186.9 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09241/0.0924, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 89.06 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1289, allocations: 49.4 MB / 443.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.0035/0.1325, allocations: 1.571 MB / 445.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1338, allocations: 0.5114 MB / 445.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1339, allocations: 3.938 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.471e-05/0.134, allocations: 7.922 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1342, allocations: 11.88 kB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.1346, allocations: 47.83 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1348, allocations: 47.84 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.135, allocations: 32.09 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1351, allocations: 19.92 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1352, allocations: 19.86 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1352, allocations: 4 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.1352, allocations: 4 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1353, allocations: 15.92 kB / 445.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1354, allocations: 27.8 kB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1355, allocations: 55.7 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1356, allocations: 4 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1356, allocations: 0 / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1356, allocations: 4 kB / 445.9 MB, free: 14.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006172/0.1362, allocations: 383 kB / 446.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1363, allocations: 12.03 kB / 446.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.1363, allocations: 8.844 kB / 446.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1366, allocations: 192.2 kB / 446.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1367, allocations: 384 / 446.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1367, allocations: 4.375 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.137, allocations: 133.8 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.137, allocations: 3.938 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1371, allocations: 0 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1371, allocations: 0 / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1372, allocations: 23.98 kB / 446.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1376, allocations: 278.5 kB / 447 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1378, allocations: 67.8 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.1379, allocations: 30.62 kB / 447.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1379, allocations: 4 kB / 447.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1379, allocations: 34.56 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.138, allocations: 0 / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003112/0.1383, allocations: 93.44 kB / 447.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.1384, allocations: 106.8 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1385, allocations: 137.8 kB / 447.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1385, allocations: 25.7 kB / 447.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1386, allocations: 88.12 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1386, allocations: 12.36 kB / 447.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1387, allocations: 25.62 kB / 447.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1389, allocations: 322.8 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.1389, allocations: 8 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.139, allocations: 31.42 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1391, allocations: 51.36 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1391, allocations: 0 / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001696/0.1393, allocations: 73.55 kB / 448.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1393, allocations: 4 kB / 448.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1393, allocations: 8 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1393, allocations: 4.125 kB / 448.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.1394, allocations: 8 kB / 448.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1394, allocations: 3.984 kB / 448.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.1395, allocations: 4 kB / 448.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-06/0.1395, allocations: 0 / 448.1 MB, free: 11.64 MB / 334.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 0.0001077/0.1396, allocations: 121.8 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.1397, allocations: 53.53 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.1398, allocations: 15.83 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1398, allocations: 4.062 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1398, allocations: 0 / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1398, allocations: 15.86 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.14, allocations: 177.4 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.14, allocations: 4 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.1401, allocations: 4 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1401, allocations: 7.984 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1401, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1401, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1401, allocations: 7.938 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1403, allocations: 185.1 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1404, allocations: 93 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1404, allocations: 0 / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1405, allocations: 4 kB / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1405, allocations: 0 / 448.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1406, allocations: 11.98 kB / 448.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.1406, allocations: 107.9 kB / 448.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 448.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1409, allocations: 8 kB / 448.9 MB, free: 10.73 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: 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.0001131/0.141, allocations: 99.23 kB / 449 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1412, allocations: 31.92 kB / 449 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1412, allocations: 256 / 449 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.1412, allocations: 11.94 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1416, allocations: 28.09 kB / 449.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.142, allocations: 176.7 kB / 449.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1424, allocations: 0.6965 MB / 449.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.474e-05/0.1424, allocations: 7.75 kB / 449.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1425, allocations: 15.44 kB / 449.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1425, allocations: 0 / 449.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of Templates: time 0.00359/0.1461, allocations: 0.6058 MB / 450.6 MB, free: 9 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches