Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009085, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 176.5 kB / 16.63 MB, free: 6.887 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.78/1.78, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09112/0.09112, allocations: 12.6 MB / 283.7 MB, free: 8.684 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.0007204/0.0007206, allocations: 27.94 kB / 344.5 MB, free: 21.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1306, allocations: 50.38 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.001949/0.1326, allocations: 1.421 MB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008768/0.1335, allocations: 0.5662 MB / 396.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1336, allocations: 11.94 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.1337, allocations: 3.938 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1338, allocations: 11.92 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1342, allocations: 75.8 kB / 397 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1343, allocations: 83.75 kB / 397.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1344, allocations: 21.11 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.1345, allocations: 35.86 kB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.1346, allocations: 47.7 kB / 397.2 MB, free: 500 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1346, allocations: 0 / 397.2 MB, free: 500 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.1347, allocations: 4 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.1347, allocations: 19.92 kB / 397.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.1348, allocations: 49.62 kB / 397.3 MB, free: 420 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.816e-05/0.1349, allocations: 59.88 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1349, allocations: 0 / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1349, allocations: 0 / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1349, allocations: 0 / 397.3 MB, free: 360 kB / 286.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.0005319/0.1355, allocations: 415.1 kB / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1355, allocations: 8.031 kB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1355, allocations: 15.81 kB / 397.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1358, allocations: 218.7 kB / 398 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.1358, allocations: 8 kB / 398 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1358, allocations: 8 kB / 398 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.1364, allocations: 281.2 kB / 398.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.1364, allocations: 0 / 398.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1364, allocations: 7.938 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1364, allocations: 7.984 kB / 398.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1366, allocations: 47.97 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1369, allocations: 314.4 kB / 398.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1372, allocations: 135.9 kB / 398.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1373, allocations: 70.62 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.1373, allocations: 7.984 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1374, allocations: 42.5 kB / 398.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.1374, allocations: 0 / 398.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003988/0.1378, allocations: 177.7 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.1379, allocations: 114.8 kB / 399.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.138, allocations: 154.2 kB / 399.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1381, allocations: 29.7 kB / 399.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.1381, allocations: 96.05 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1381, allocations: 15.89 kB / 399.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.1382, allocations: 0 / 399.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1383, allocations: 334.8 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.1384, allocations: 28.34 kB / 399.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1385, allocations: 131.3 kB / 399.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.1386, allocations: 47.98 kB / 400 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1386, allocations: 0 / 400 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002784/0.1389, allocations: 185.1 kB / 400.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1389, allocations: 8 kB / 400.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.139, allocations: 4 kB / 400.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.139, allocations: 4.531 kB / 400.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1391, allocations: 35.92 kB / 400.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.1391, allocations: 12.3 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.1392, allocations: 19.81 kB / 400.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1392, allocations: 12 kB / 400.3 MB, free: 13.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.1394, allocations: 141.5 kB / 400.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.1396, allocations: 121.4 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.1396, allocations: 24.7 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1396, allocations: 0 / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1396, allocations: 4 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1396, allocations: 4 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1398, allocations: 197.5 kB / 400.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1399, allocations: 0 / 400.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.14, allocations: 27.98 kB / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.14, allocations: 480 / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.14, allocations: 4 kB / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.14, allocations: 0 / 400.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.14, allocations: 4 kB / 400.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1403, allocations: 271.9 kB / 401 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.1404, allocations: 97 kB / 401.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1404, allocations: 12 kB / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1405, allocations: 8 kB / 401.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1406, allocations: 7.984 kB / 401.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1406, allocations: 4 kB / 401.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.1407, allocations: 115.9 kB / 401.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1407, allocations: 0 / 401.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.141, allocations: 24 kB / 401.3 MB, free: 11.94 MB / 302.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.1411, allocations: 103.2 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1414, allocations: 115.9 kB / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1414, allocations: 0 / 401.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1415, allocations: 11.98 kB / 401.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.1419, allocations: 83.83 kB / 401.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.1424, allocations: 304.5 kB / 401.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1428, allocations: 0.7244 MB / 402.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.1428, allocations: 5.438 kB / 402.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1429, allocations: 19.42 kB / 402.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1429, allocations: 0 / 402.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.003565/0.1464, allocations: 1.057 MB / 403.7 MB, free: 9.457 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches