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.009531/0.009531, allocations: 88.69 kB / 15.91 MB, free: 6.285 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.002203/0.002203, allocations: 197.3 kB / 16.83 MB, free: 6.215 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.722/1.722, allocations: 205.1 MB / 222.7 MB, free: 4.691 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.07502/0.07502, allocations: 12.59 MB / 282.6 MB, free: 8.859 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.001609/0.001609, allocations: 83.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 49.39 MB / 392.2 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004253/0.1203, allocations: 1.913 MB / 394.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1217, allocations: 0.6555 MB / 394.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1219, allocations: 7.938 kB / 394.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1221, allocations: 11.86 kB / 394.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1223, allocations: 23.84 kB / 394.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1227, allocations: 83.88 kB / 394.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1229, allocations: 135.5 kB / 395 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.123, allocations: 65.69 kB / 395.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1231, allocations: 43.73 kB / 395.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.1233, allocations: 51.69 kB / 395.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1233, allocations: 8 kB / 395.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.1233, allocations: 4 kB / 395.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.1234, allocations: 27.86 kB / 395.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.1235, allocations: 55.61 kB / 395.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1237, allocations: 127.7 kB / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1237, allocations: 0 / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1237, allocations: 0 / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1237, allocations: 4 kB / 395.4 MB, free: 0.5 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006778/0.1244, allocations: 446.9 kB / 395.8 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1244, allocations: 12.03 kB / 395.8 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.1245, allocations: 16.8 kB / 395.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.1248, allocations: 248.8 kB / 396.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1248, allocations: 8.125 kB / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1249, allocations: 11.94 kB / 396.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.1254, allocations: 273.3 kB / 396.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1255, allocations: 4 kB / 396.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.1255, allocations: 8 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1255, allocations: 0 / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.1257, allocations: 75.88 kB / 396.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.1262, allocations: 427.4 kB / 396.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.1267, allocations: 290.1 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.1269, allocations: 112.3 kB / 397.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1269, allocations: 8 kB / 397.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.127, allocations: 38.5 kB / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.127, allocations: 0 / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006006/0.1276, allocations: 225.7 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.1278, allocations: 195.9 kB / 397.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.128, allocations: 179 kB / 397.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.128, allocations: 25.7 kB / 397.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.1281, allocations: 108 kB / 398 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1281, allocations: 23.81 kB / 398.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1282, allocations: 33.72 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1284, allocations: 330.9 kB / 398.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.1284, allocations: 19.98 kB / 398.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1286, allocations: 133.6 kB / 398.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1288, allocations: 161.6 kB / 398.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1288, allocations: 4 kB / 398.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002577/0.1291, allocations: 165.2 kB / 398.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1291, allocations: 11.94 kB / 398.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1291, allocations: 4 kB / 398.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1291, allocations: 4 kB / 398.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1293, allocations: 31.97 kB / 398.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1293, allocations: 7.938 kB / 398.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.1294, allocations: 15.91 kB / 399 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1294, allocations: 8.344 kB / 399 MB, free: 12.46 MB / 302.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.0001254/0.1295, allocations: 145.7 kB / 399.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.1298, allocations: 141.7 kB / 399.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.1299, allocations: 29.33 kB / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1299, allocations: 0 / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1299, allocations: 4 kB / 399.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1299, allocations: 0 / 399.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1302, allocations: 213.6 kB / 399.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1302, allocations: 8.016 kB / 399.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1303, allocations: 35.92 kB / 399.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1303, allocations: 7.938 kB / 399.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1304, allocations: 0 / 399.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1304, allocations: 4 kB / 399.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1304, allocations: 3.984 kB / 399.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1308, allocations: 357 kB / 399.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.1309, allocations: 112.8 kB / 400 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1309, allocations: 7.938 kB / 400 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.131, allocations: 11.98 kB / 400 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1311, allocations: 8 kB / 400 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1311, allocations: 4 kB / 400 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1312, allocations: 137.1 kB / 400.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1312, allocations: 0 / 400.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1315, allocations: 24 kB / 400.2 MB, free: 11.12 MB / 302.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.0001101/0.1316, allocations: 99.19 kB / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1319, allocations: 116.1 kB / 400.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1319, allocations: 0 / 400.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.132, allocations: 8 kB / 400.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.1327, allocations: 115.6 kB / 400.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.1336, allocations: 409.4 kB / 400.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1339, allocations: 0.7241 MB / 401.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.134, allocations: 17.78 kB / 401.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.134, allocations: 19.38 kB / 401.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.134, allocations: 0 / 401.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Templates: time 0.004791/0.1388, allocations: 1.567 MB / 403.3 MB, free: 7.988 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches