Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 173.6 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205 MB / 222.5 MB, free: 9.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007447/0.0007451, allocations: 93.23 kB / 270.5 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07404/0.07404, allocations: 12.57 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08817, allocations: 49.99 MB / 441.7 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.001684/0.0899, allocations: 1.329 MB / 443 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.09075, allocations: 0.5424 MB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.0909, allocations: 4 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.09096, allocations: 11.92 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.09111, allocations: 11.92 kB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.09142, allocations: 51.83 kB / 443.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.09153, allocations: 47.8 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.09164, allocations: 23.97 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.09173, allocations: 19.88 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.09179, allocations: 23.86 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.09182, allocations: 4 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.09184, allocations: 0 / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.09189, allocations: 15.92 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.09193, allocations: 31.73 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.124e-05/0.09201, allocations: 35.94 kB / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.09202, allocations: 3.984 kB / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09203, allocations: 0 / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.09204, allocations: 0 / 443.8 MB, free: 14.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003815/0.09242, allocations: 383.3 kB / 444.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.09247, allocations: 12.03 kB / 444.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.09251, allocations: 12.75 kB / 444.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.09268, allocations: 204.1 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.0927, allocations: 384 / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.09272, allocations: 4.375 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.093, allocations: 150.9 kB / 444.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.09302, allocations: 0 / 444.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.09303, allocations: 4 kB / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.09304, allocations: 0 / 444.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.09313, allocations: 35.91 kB / 444.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.09339, allocations: 283.5 kB / 444.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.0935, allocations: 94.42 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.09357, allocations: 51.42 kB / 445.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.0936, allocations: 7.984 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.09362, allocations: 34.56 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09363, allocations: 0 / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002476/0.09388, allocations: 109.4 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.09393, allocations: 141 kB / 445.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.09403, allocations: 146.4 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.09405, allocations: 29.7 kB / 445.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.09408, allocations: 100 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.0941, allocations: 4 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.09413, allocations: 9.719 kB / 445.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.09418, allocations: 326.8 kB / 445.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.09423, allocations: 19.98 kB / 446 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.09428, allocations: 45.16 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.09437, allocations: 65.08 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.09438, allocations: 0 / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001269/0.09451, allocations: 101.4 kB / 446.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.09453, allocations: 4.938 kB / 446.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.09454, allocations: 7.984 kB / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.09456, allocations: 0 / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.09464, allocations: 15.94 kB / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.09465, allocations: 0 / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.0947, allocations: 11.92 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.09472, allocations: 4 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 5.912e-05/0.09478, allocations: 126.8 kB / 446.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.09486, allocations: 65.53 kB / 446.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.0949, allocations: 15.83 kB / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.0949, allocations: 3.984 kB / 446.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.09491, allocations: 4 kB / 446.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.09492, allocations: 0 / 446.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.09505, allocations: 185.4 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.09506, allocations: 4.125 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.09513, allocations: 24.02 kB / 446.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.09514, allocations: 4 kB / 446.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.09515, allocations: 0 / 446.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09516, allocations: 0 / 446.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.09516, allocations: 7.984 kB / 446.6 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.09532, allocations: 198 kB / 446.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.09537, allocations: 93 kB / 446.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.09539, allocations: 4 kB / 446.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.09546, allocations: 7.938 kB / 446.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.0955, allocations: 4 kB / 446.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.09551, allocations: 0 / 446.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.09557, allocations: 115.1 kB / 447.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09558, allocations: 7.938 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.09579, allocations: 12 kB / 447.1 MB, free: 10.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 7.208e-05/0.09587, allocations: 95.23 kB / 447.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.09601, allocations: 47.92 kB / 447.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.09602, allocations: 384 / 447.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.43e-05/0.09606, allocations: 15.98 kB / 447.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.09645, allocations: 43.91 kB / 447.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.09678, allocations: 269.3 kB / 447.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.09694, allocations: 0.6926 MB / 448.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.09697, allocations: 11.44 kB / 448.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.09698, allocations: 0 / 448.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of Templates: time 0.001864/0.09884, allocations: 1.014 MB / 449.3 MB, free: 8.277 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches