Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 106.7 kB / 16.45 MB, free: 6.434 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.001926/0.001926, allocations: 189.6 kB / 17.39 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.705/1.705, 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.08942/0.08942, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001907/0.001907, allocations: 87.27 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 49.42 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003312/0.1273, allocations: 1.844 MB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1289, allocations: 0.6711 MB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1292, allocations: 7.938 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1294, allocations: 23.73 kB / 446.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1296, allocations: 23.8 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.13, allocations: 99.75 kB / 446.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.1303, allocations: 139.6 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1305, allocations: 73.36 kB / 446.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1307, allocations: 59.73 kB / 446.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1308, allocations: 51.7 kB / 446.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1308, allocations: 8 kB / 446.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.1309, allocations: 12 kB / 446.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.444e-05/0.1309, allocations: 35.84 kB / 446.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.131, allocations: 63.55 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1313, allocations: 139.4 kB / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1313, allocations: 0 / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1313, allocations: 0 / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1313, allocations: 0 / 446.8 MB, free: 13.22 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006823/0.132, allocations: 447 kB / 447.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.132, allocations: 12.03 kB / 447.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1321, allocations: 20.66 kB / 447.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1325, allocations: 244.9 kB / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1325, allocations: 12.11 kB / 447.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1325, allocations: 12 kB / 447.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.1331, allocations: 272.2 kB / 447.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1331, allocations: 4 kB / 447.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1332, allocations: 4 kB / 447.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1332, allocations: 0 / 447.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1334, allocations: 75.88 kB / 447.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1339, allocations: 427.4 kB / 448.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.1344, allocations: 294 kB / 448.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1346, allocations: 112.3 kB / 448.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.1346, allocations: 8 kB / 448.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1347, allocations: 42.5 kB / 448.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1347, allocations: 0 / 448.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005446/0.1352, allocations: 221.5 kB / 449 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1354, allocations: 196 kB / 449.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1357, allocations: 179.1 kB / 449.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1357, allocations: 25.7 kB / 449.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.1358, allocations: 108.1 kB / 449.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1358, allocations: 15.89 kB / 449.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.1359, allocations: 37.69 kB / 449.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.136, allocations: 326.8 kB / 449.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1361, allocations: 19.98 kB / 449.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1363, allocations: 134.4 kB / 450 MB, free: 9.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1365, allocations: 157.6 kB / 450.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1365, allocations: 4 kB / 450.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002617/0.1367, allocations: 165.3 kB / 450.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1368, allocations: 15.88 kB / 450.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1368, allocations: 8.359 kB / 450.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1368, allocations: 4 kB / 450.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1369, allocations: 31.97 kB / 450.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.137, allocations: 11.94 kB / 450.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.1371, allocations: 12.31 kB / 450.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.1371, allocations: 12 kB / 450.4 MB, free: 9.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.000123/0.1372, allocations: 141.7 kB / 450.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.1375, allocations: 141.3 kB / 450.7 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1375, allocations: 21.39 kB / 450.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1376, allocations: 4 kB / 450.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1376, allocations: 0 / 450.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1376, allocations: 0 / 450.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.1379, allocations: 221.4 kB / 450.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1379, allocations: 8.016 kB / 450.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.138, allocations: 35.92 kB / 451 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.1381, allocations: 7.938 kB / 451 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1381, allocations: 0 / 451 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.1381, allocations: 4 kB / 451 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1381, allocations: 7.922 kB / 451 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.1386, allocations: 357 kB / 451.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1387, allocations: 108.9 kB / 451.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1388, allocations: 7.938 kB / 451.4 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1389, allocations: 11.98 kB / 451.5 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.139, allocations: 8 kB / 451.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.139, allocations: 4 kB / 451.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1391, allocations: 137.1 kB / 451.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1392, allocations: 4 kB / 451.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.1395, allocations: 20 kB / 451.6 MB, free: 7.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.000176/0.1397, allocations: 103.1 kB / 451.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.14, allocations: 115.9 kB / 451.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1401, allocations: 0 / 451.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.1401, allocations: 8 kB / 451.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.1408, allocations: 112.2 kB / 452 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1419, allocations: 360.5 kB / 452.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.1424, allocations: 0.7202 MB / 453 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.1425, allocations: 13.55 kB / 453 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.1425, allocations: 15.44 kB / 453.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1425, allocations: 0 / 453.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of Templates: time 0.005928/0.1485, allocations: 1.709 MB / 454.8 MB, free: 4.621 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches