Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.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.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 103.6 kB / 16.45 MB, free: 6.438 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.001699/0.001699, allocations: 186.9 kB / 17.38 MB, free: 5.691 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.692/1.692, allocations: 205.1 MB / 223.3 MB, free: 12.22 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.07841/0.07841, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.00173/0.00173, allocations: 91.47 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1331, allocations: 49.4 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay): time 0.003494/0.1367, allocations: 1.591 MB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.138, allocations: 0.5852 MB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1381, allocations: 4 kB / 445.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.1384, allocations: 23.81 kB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1385, allocations: 11.92 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1388, allocations: 59.8 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.139, allocations: 63.84 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1391, allocations: 23.91 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1393, allocations: 39.78 kB / 446 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1394, allocations: 27.86 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1395, allocations: 4 kB / 446 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.1395, allocations: 4 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.1396, allocations: 19.92 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.357e-05/0.1397, allocations: 39.78 kB / 446.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1399, allocations: 67.73 kB / 446.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1399, allocations: 0 / 446.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1399, allocations: 0 / 446.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1399, allocations: 0 / 446.1 MB, free: 13.9 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007771/0.1407, allocations: 383 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.1407, allocations: 12.03 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1408, allocations: 12.84 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1411, allocations: 204.6 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1412, allocations: 8.375 kB / 446.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1412, allocations: 8.125 kB / 446.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.1417, allocations: 161.7 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1417, allocations: 3.938 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1417, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1417, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1418, allocations: 27.98 kB / 446.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1424, allocations: 282.5 kB / 447.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1426, allocations: 87.77 kB / 447.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.1427, allocations: 38.69 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.1427, allocations: 4 kB / 447.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.1428, allocations: 42.55 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1428, allocations: 0 / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003962/0.1432, allocations: 109.4 kB / 447.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1433, allocations: 110.7 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1435, allocations: 149.8 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1435, allocations: 25.95 kB / 447.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.1436, allocations: 96.14 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1437, allocations: 11.83 kB / 447.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1437, allocations: 21.72 kB / 447.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1439, allocations: 322.8 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1439, allocations: 19.98 kB / 448.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.144, allocations: 65.94 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1442, allocations: 77.94 kB / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1442, allocations: 0 / 448.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001857/0.1444, allocations: 109.4 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1444, allocations: 4 kB / 448.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1444, allocations: 7.938 kB / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1444, allocations: 224 / 448.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1445, allocations: 19.98 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1446, allocations: 4.188 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.1446, allocations: 11.92 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1446, allocations: 7.938 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001495/0.1448, allocations: 129.8 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.145, allocations: 65.53 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.145, allocations: 12.31 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.145, allocations: 4 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.145, allocations: 4.344 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1451, allocations: 3.938 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1453, allocations: 185.5 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1453, allocations: 0 / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.1454, allocations: 19.92 kB / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1454, allocations: 0 / 448.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1454, allocations: 4 kB / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1454, allocations: 0 / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1454, allocations: 0 / 448.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1456, allocations: 201.1 kB / 449.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.1457, allocations: 96.94 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1458, allocations: 4 kB / 449.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1458, allocations: 3.938 kB / 449.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1459, allocations: 4 kB / 449.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1459, allocations: 7.922 kB / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.146, allocations: 120 kB / 449.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.146, allocations: 0 / 449.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1462, allocations: 8 kB / 449.4 MB, free: 10.21 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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001135/0.1463, allocations: 103.2 kB / 449.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1465, allocations: 51.91 kB / 449.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1465, allocations: 0 / 449.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.1466, allocations: 12.38 kB / 449.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.147, allocations: 48.03 kB / 449.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1476, allocations: 208.8 kB / 449.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.148, allocations: 0.7041 MB / 450.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.279e-05/0.1481, allocations: 8.766 kB / 450.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.1481, allocations: 11.44 kB / 450.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1481, allocations: 0 / 450.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Templates: time 0.003667/0.1518, allocations: 0.859 MB / 451.4 MB, free: 8.148 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches