Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008738, 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.001518/0.001519, allocations: 175.3 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.736/1.736, allocations: 205.4 MB / 222.8 MB, free: 5.613 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.08994/0.08994, allocations: 12.6 MB / 283.7 MB, free: 8.691 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.0007035/0.0007039, allocations: 16 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1269, allocations: 50.38 MB / 394.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001807/0.1288, allocations: 1.192 MB / 396.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003586/0.1292, allocations: 143.6 kB / 396.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.1293, allocations: 4 kB / 396.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.1293, allocations: 7.875 kB / 396.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1295, allocations: 0 / 396.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1297, allocations: 35.91 kB / 396.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.1298, allocations: 27.92 kB / 396.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.1299, allocations: 11.98 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.1299, allocations: 11.94 kB / 396.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.13, allocations: 7.938 kB / 396.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.13, allocations: 0 / 396.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.13, allocations: 0 / 396.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.1301, allocations: 11.92 kB / 396.4 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1301, allocations: 33.7 kB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.181e-05/0.1302, allocations: 23.94 kB / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1302, allocations: 7.938 kB / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1302, allocations: 0 / 396.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1302, allocations: 4 kB / 396.4 MB, free: 1.242 MB / 286.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.0005682/0.1308, allocations: 351.4 kB / 396.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1308, allocations: 8.031 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1309, allocations: 11.91 kB / 396.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1311, allocations: 182.9 kB / 397 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1312, allocations: 4 kB / 397 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1312, allocations: 7.953 kB / 397 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1314, allocations: 89.05 kB / 397.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1315, allocations: 0 / 397.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1315, allocations: 4 kB / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1315, allocations: 3.938 kB / 397.1 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.1316, allocations: 19.98 kB / 397.1 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1319, allocations: 265.7 kB / 397.4 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.132, allocations: 45.2 kB / 397.4 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.132, allocations: 25.78 kB / 397.4 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1321, allocations: 3.938 kB / 397.4 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1321, allocations: 30.56 kB / 397.5 MB, free: 20 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1321, allocations: 0 / 397.5 MB, free: 20 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002851/0.1324, allocations: 77.81 kB / 397.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1325, allocations: 77.11 kB / 397.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1327, allocations: 138 kB / 397.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1327, allocations: 25.7 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.1328, allocations: 88.14 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1328, allocations: 3.906 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.1328, allocations: 0 / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.133, allocations: 314.8 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.133, allocations: 20.02 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.133, allocations: 17.72 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.1331, allocations: 7.984 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1331, allocations: 0 / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.1332, allocations: 61.69 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1332, allocations: 5.25 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1333, allocations: 4 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1333, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1334, allocations: 4 kB / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1334, allocations: 0 / 398.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.1334, allocations: 11.92 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1334, allocations: 4.062 kB / 398.3 MB, free: 15.11 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: 2 (step.y,sample.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.1337, allocations: 137.5 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1337, allocations: 37.59 kB / 398.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.1338, allocations: 15.81 kB / 398.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1338, allocations: 0 / 398.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1338, allocations: 0 / 398.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1338, allocations: 0 / 398.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.134, allocations: 177.5 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.134, allocations: 0 / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1341, allocations: 8.031 kB / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1341, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1341, allocations: 4 kB / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1341, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1341, allocations: 0 / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1343, allocations: 164.2 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.1344, allocations: 97.05 kB / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1344, allocations: 0 / 398.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.1344, allocations: 4 kB / 398.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1345, allocations: 0 / 398.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1345, allocations: 4 kB / 398.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.736e-05/0.1346, allocations: 103.2 kB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1346, allocations: 0 / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1348, allocations: 4 kB / 399 MB, free: 14.26 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: 2 (step.y,sample.y) * 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 (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.0001117/0.1349, allocations: 99.22 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1351, allocations: 27.92 kB / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1351, allocations: 0 / 399.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.1351, allocations: 8 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1355, allocations: 24.2 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1359, allocations: 145.5 kB / 399.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1362, allocations: 0.6848 MB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1363, allocations: 4.031 kB / 400 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.1363, allocations: 15.44 kB / 400 MB, free: 13.19 MB / 302.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1363, allocations: 0 / 400 MB, free: 13.19 MB / 302.1 MB Notification: Performance of Templates: time 0.002677/0.139, allocations: 392.1 kB / 400.4 MB, free: 12.81 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches